ESRI.ArcGIS.ADF.ArcGISServer.Local
GlobeServerDcomProxy Constructor(IServerContext,Boolean,DcomProxy)
See Also 
ESRI.ArcGIS.ADF.ArcGISServer Namespace > GlobeServerDcomProxy Class > GlobeServerDcomProxy Constructor : GlobeServerDcomProxy Constructor(IServerContext,Boolean,DcomProxy)




context
Server context.
releaseContextOnDispose
Whether to explicitly release the server context when the proxy is disposed. Used for pooled vs. nonpooled services.
proxy
The DCOM proxy to use.
Constructor.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal context As IServerContext, _
   ByVal releaseContextOnDispose As Boolean, _
   ByVal proxy As DcomProxy _
)
Visual Basic (Usage)Copy Code
Dim context As IServerContext
Dim releaseContextOnDispose As Boolean
Dim proxy As DcomProxy
 
Dim instance As GlobeServerDcomProxy(context, releaseContextOnDispose, proxy)
C# 
public GlobeServerDcomProxy( 
   IServerContext context,
   bool releaseContextOnDispose,
   DcomProxy proxy
)

Parameters

context
Server context.
releaseContextOnDispose
Whether to explicitly release the server context when the proxy is disposed. Used for pooled vs. nonpooled services.
proxy
The DCOM proxy to use.

See Also

© 2010 All Rights Reserved.