ContractFailedEventArgs.Handled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether the ContractFailed event has been handled.
public:
property bool Handled { bool get(); };
public bool Handled { get; }
member this.Handled : bool
Public ReadOnly Property Handled As Boolean
Property Value
true
if the event has been handled; otherwise, false
.
Remarks
If the Contract.ContractFailed event has not been handled, the debugger is notified. If no debugger is attached, an Assert dialog box is displayed.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.