Getting Information about Interface Property

Below is the example of using the GetClassInspectorInfo operation for getting information about interface property. The request contains names of assembly, interface, and property. The help system URL is also sent. The response contains the obtained property information.

SOAP request:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GetClassInspectorInfo xmlns="http://www.fsight.ru/PP.SOM.Som">
<tMb xsi:type="q1:OpenMetabaseResult" xmlns="" xmlns:q1="http://www.fsight.ru/PP.SOM.Som">
  <id>COAALKJJBFIOFOAEOHJHMAKDHKFCMMDEEKIEPDMEAHENJCAH!M</id>
  <sessKey>272175</sessKey>
  <sessCookie>C1</sessCookie>
  <version>163</version>
  <defLocale>1049</defLocale>
  <driver>2</driver>
  </tMb>
<tArg xmlns="">
  <path>System.IException</path>
  <member>Message</member>
  <helpAddress>https://help.fsight.ru/ru/</helpAddress>
  </tArg>
  </GetClassInspectorInfo>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<GetClassInspectorInfoResult xmlns="http://www.fsight.ru/PP.SOM.Som" xmlns:q1="http://www.fsight.ru/PP.SOM.Som" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <subNodes xmlns="" />
  <description xmlns="">https://help.fsight.ru/ru//MergedProjects/ForeSys/Interface/IException/IException.Message.htm</description>
  </GetClassInspectorInfoResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"GetClassInspectorInfo" :
{
"tMb" :
{
"@type" : "q1:OpenMetabaseResult",
"id" : "COAALKJJBFIOFOAEOHJHMAKDHKFCMMDEEKIEPDMEAHENJCAH!M",
"sessKey" : "272175",
"sessCookie" : "C1",
"version" : "163",
"defLocale" : "1049",
"driver" : "2"
},
"tArg" :
{
"path" : "System.IException",
"member" : "Message",
"helpAddress" : "https:\/\/help.fsight.ru\/ru\/"
}
}
}

JSON response:

{
"GetClassInspectorInfoResult" :
{
"subNodes" : "",
"description" : "https:\/\/help.fsight.ru\/ru\/\/MergedProjects\/ForeSys\/Interface\/IException\/IException.Message.htm"
}
}
public static GetClassInspectorInfoResult GetClassInspectorInfo(MbId mb, string assembly, string parentName = "", string classMember = "", string helpUrl = "")
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetClassInspectorInfo()
{
tMb = mb,
tArg = new GetClassInspectorInfoArg()
{
path = assembly + (parentName == "" ? "" : '.' + parentName),
member = classMember,
helpAddress = helpUrl
}
};
// Get information from class inspector
var result = somClient.GetClassInspectorInfo(tGet);
return result;
}

See also:

GetClassInspectorInfo: Operation