IImageService.Status property
Applies To: IImageService
This function is returns an XML string detailing the status of the last operation performed on this object.
It's mainly used when any function call to the IImageService fails.
[Visual Basic 6.0]
variable = object.Status
Access
Read Only
Type
An XML String detailing the status of the last operation. Each entry in the XML is composed of an error code and an error string.
For more details view the XML schema available at: [ArcGIS Image Server installation folder]\Developer Kit\XML\Status.XSD.
Requirements
Platform |
32 bit Windows OS (WinXP) |
Environment |
.NET Framework, COM, ANSI C / C++ Standard compliant |
Dependency |
ESRI.ImageServer.ISClient.dll (.NET Framework), ISClient.dll (COM/C++), ISClientC.dll (C/C++) |
Include |
isclientc.h (ANSI C) |
Example
[Visual Basic 6.0]
Private Sub Form1_Load()
Dim client As New CClientObject
Dim strConfigPath As String
strConfigPath = "c:\Program Files\ArcGIS\ImageServer10.0\XADefs\ISViewer.ISCConfig"
If client.Init(strConfigPath) = False Then
MsgBox client.Status
Exit Sub
End If
End Sub
For a detailed example, please see the ISViewer Sample in VB 6.0 or the Client Application Sample in ANSI C in [ArcGIS Image Server installation folder]\Developer Kit\Client Applications\Samples\ folder.