![]() ![]() |
ESRI.ArcGIS.ADF.ArcGISServer.Local | |
NAServerDcomProxy Constructor(IServerContext,Boolean) | |
See Also Send Feedback |
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.
Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal context As ESRI.ArcGIS.Server.IServerContext, _ ByVal releaseContextOnDispose As Boolean _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim context As ESRI.ArcGIS.Server.IServerContext Dim releaseContextOnDispose As Boolean Dim instance As New NAServerDcomProxy(context, releaseContextOnDispose) |
C# | |
---|---|
public NAServerDcomProxy( ESRI.ArcGIS.Server.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.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family