ArcFM Engine Developer Guide
SetupMainSTAGateway Method


This method must be called while on the MainSTA thread.
Syntax
'Declaration
 
Public Shared Sub SetupMainSTAGateway() 
'Usage
 
MarshalToMainSTAAttribute.SetupMainSTAGateway()
public static void SetupMainSTAGateway()
Remarks
The "gateway" is what allows us to marshal calls into the MainSTA apartment. In order for this to work the "gateway" must be created on the MainSTA thread.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

MarshalToMainSTAAttribute Class
MarshalToMainSTAAttribute Members

 

 


Send Comment