Catalyst File Transfer .NET

FileTransfer.ThreadModelAttribute Class

Attribute that defines the threading model for the class.

For a list of all members of this type, see FileTransfer.ThreadModelAttribute Members.

System.Object
   System.Attribute
      SocketTools.FileTransfer.ThreadModelAttribute

[Visual Basic]
<AttributeUsage(ValidOn:=AttributeTargets.Assembly, AllowMultiple:=False, Inherited:=True)>
Public Class FileTransfer.ThreadModelAttribute
    Inherits Attribute
[C#]
[AttributeUsage(ValidOn=AttributeTargets.Assembly, AllowMultiple=False, Inherited=True)]
public class FileTransfer.ThreadModelAttribute : Attribute

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

The ThreadModel attribute is used to define the threading model that is to be used when an instance of the class is created. This attribute is defined in the assembly information module for the language, such as AssemblyInfo.cs when programming C#.

Example

[Visual Basic]
<Assembly: SocketTools.FileTransfer.ThreadModel(SocketTools.FileTransfer.ThreadModelAttribute.Model.SingleThread)>
    
[CS]
[assembly: SocketTools.FileTransfer.ThreadModel(SocketTools.FileTransfer.ThreadModelAttribute.Model.SingleThread)]
    

Requirements

Namespace: SocketTools

Assembly: SocketTools.FileTransfer (in SocketTools.FileTransfer.dll)

See Also

FileTransfer.ThreadModelAttribute Members | SocketTools Namespace | ThreadModel Property (SocketTools.FileTransfer)