ArcFM Server Developer Guide
CreateInstance Method


The object type to create an instance of.
Creates a proxy object that takes responsibility for marshaling the method invocation onto the main STA (or whichever thread SetupMainSTAGateway was called on).
Syntax
'Declaration
 
Public Overrides NotOverridable Function CreateInstance( _
   ByVal type As Type _
) As MarshalByRefObject
'Usage
 
Dim instance As MarshalToMainSTAAttribute
Dim type As Type
Dim value As MarshalByRefObject
 
value = instance.CreateInstance(type)
public override MarshalByRefObject CreateInstance( 
   Type type
)

Parameters

type
The object type to create an instance of.

Return Value

An uninitialized MarshalByRefObject or a transparent proxy.
Remarks
This method is called by a proxy attribute class and not intended for general usage.
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