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




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

Syntax

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

Parameters

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

See Also

© 2010 All Rights Reserved.