HandleException Element

Defines an exception handler for an Invoke, Set, or command object.

Syntax

<HandleException
    ExceptionHandler="ObjectPath element"
    ExceptionType="string"
/>

Attributes

ExceptionHandler

An object path in the form [ObjectName.Member] that indicates the object that is associated with the exception handler.

ExceptionType

Indicates the full namespace-qualified name of the exception to catch.

Requirements

Platform: Windows 7

See Also