ESRI.ArcGIS.ADF.ArcGISServer.Local
MobileServerDcomProxy Constructor(IServerContext,Boolean,DcomProxy)
See Also  Send Feedback
ESRI.ArcGIS.ADF.ArcGISServer Namespace > MobileServerDcomProxy Class > MobileServerDcomProxy Constructor : MobileServerDcomProxy 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 ESRI.ArcGIS.Server.IServerContext, _
   ByVal releaseContextOnDispose As Boolean, _
   ByVal proxy As DcomProxy _
)
Visual Basic (Usage)Copy Code
Dim context As ESRI.ArcGIS.Server.IServerContext
Dim releaseContextOnDispose As Boolean
Dim proxy As DcomProxy
 
Dim instance As New MobileServerDcomProxy(context, releaseContextOnDispose, proxy)
C# 
public MobileServerDcomProxy( 
   ESRI.ArcGIS.Server.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.

Requirements

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

See Also

© 2011 All Rights Reserved.