PublicProperty ThrowStatusException As System.Boolean
public System.bool ThrowStatusException {get; set;}
Remarks
Previous versions of DicomObjects have always simply returned the status of an operation, leaving the developer to check the value (as well as catching any exceptions which can occur due to protocol violations etc.) if however this property is set to true (directly, or by setting DefaultThrowStatusException to true before creating the DicomAssociation), then an error status will cause an exception to the thrown. Where present, the values in the 0000,0901 (offending attributes) and 0000,0902 (error comment) will be included in the exception text, to provide more useful information.