XdsObjects Help file
XdsObjects Namespace / XdsDomain Class / TreatErrorsAsExceptions Property



In This Topic
    TreatErrorsAsExceptions Property (XdsDomain)
    In This Topic
    Controls whether error codes received via XDS protocols cause excpetions to be thrown.
    Syntax
    Public Property TreatErrorsAsExceptions As Boolean
    Dim instance As XdsDomain
    Dim value As Boolean
     
    instance.TreatErrorsAsExceptions = value
     
    value = instance.TreatErrorsAsExceptions
    public bool TreatErrorsAsExceptions {get; set;}
    public:
    property bool TreatErrorsAsExceptions {
       bool get();
       void set (    bool value);
    }
    Remarks

    Low levels excepetions such as TCP errors will always be passed as exceptions, but the response to error status codes is controlled by this property. It is intialised from, and has the same meaning as XdsGlobal.TreatErrorsAsExceptions, but allows control on a "per domain" level.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also