ESRI.ArcGIS.ADF.ArcGISServer
DeserializeComObject Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.ArcGISServer Namespace > Converter Class : DeserializeComObject Method




serialized
The serialized COM object.
serverContext
The ArcGIS Server Context that will host the COM object. Has to be of type IServerContext
Deserializes a COM object from a string.

Syntax

Visual Basic (Declaration) 
Public Shared Function DeserializeComObject( _
   ByVal serialized As String, _
   ByVal serverContext As Object _
) As Object
Visual Basic (Usage)Copy Code
Dim serialized As String
Dim serverContext As Object
Dim value As Object
 
value = Converter.DeserializeComObject(serialized, serverContext)
C# 
public static object DeserializeComObject( 
   string serialized,
   object serverContext
)

Parameters

serialized
The serialized COM object.
serverContext
The ArcGIS Server Context that will host the COM object. Has to be of type IServerContext

Return Value

The deserialized ArcGIS Server COM object.

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.