bool CloseMbCheckSum(MbCheckSumId tMbCheckSum)
tMbCheckSum. Moniker for working with checksums.
The CloseMbCheckSum operation closes context for working with checksums.
To execute the operation, in the tMbCheckSum field specify moniker for working with checksums. The moniker can be obtained on executing the OpenMbCheckSum operation. The operation results in the logical True if the object was closed successfully.
Below is the example of closing the context for working with checksums. The request contains moniker for working with checksums. The response contains whether the context is successfully closed.
{
"CloseMbCheckSum" :
{
"tMbCheckSum" :
{
"id" : "S1!M!S!MbCheckSum2"
}
}
}
{
"CloseMbCheckSumResult" : "1"
}
public static bool CloseCheckSum(string moniker)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tClose = new CloseMbCheckSum()
{
tMbCheckSum = new MbCheckSumId() { id = moniker }
};
// Close context for working with checksums
var result = somClient.CloseMbCheckSum(tClose);
return result;
}
See also: