ESRI.ArcGIS.ADF.ArcGISServer
DeserializeComObject Method
See Also 
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.

See Also

© 2010 All Rights Reserved.