Miner.System Assembly > Miner.Threading Namespace : MarshalToMainSTAAttribute Class |
The following tables list the members exposed by MarshalToMainSTAAttribute.
Name | Description | |
---|---|---|
![]() | MarshalToMainSTAAttribute Constructor |
Name | Description | |
---|---|---|
![]() ![]() | IsGatewayThread | Gets a value indicating whether or not the current (calling) thread is the same thread for which the COM apartment gateway was setup. |
![]() | TypeId | (Inherited from System.Attribute) |
Name | Description | |
---|---|---|
![]() | CreateInstance | Overridden. Creates a proxy object that takes responsibility for marshaling the method invocation onto the main STA (or whichever thread SetupMainSTAGateway was called on). |
![]() | CreateProxy | (Inherited from System.Runtime.Remoting.Proxies.ProxyAttribute) |
![]() | Equals | (Inherited from System.Attribute) |
![]() | GetHashCode | (Inherited from System.Attribute) |
![]() | GetPropertiesForNewContext | (Inherited from System.Runtime.Remoting.Proxies.ProxyAttribute) |
![]() | IsContextOK | (Inherited from System.Runtime.Remoting.Proxies.ProxyAttribute) |
![]() | IsDefaultAttribute | (Inherited from System.Attribute) |
![]() | Match | (Inherited from System.Attribute) |
![]() ![]() | SetupMainSTAGateway | This method must be called while on the MainSTA thread. |