Kanzi 4.1.0
CancelWithReasonEventArgs Class Reference
Inheritance diagram for CancelWithReasonEventArgs:
[legend]
Collaboration diagram for CancelWithReasonEventArgs:
[legend]

Public Member Functions

 CancelWithReasonEventArgs ()
 
void Cancel ([NotNull] string reason)
 Requests the event to be canceled with a specified reason.
 

Properties

string CancellationReason [get]
 
bool HasCancellationBeenRequested [get]
 

Constructor & Destructor Documentation

◆ CancelWithReasonEventArgs()

Member Function Documentation

◆ Cancel()

void Cancel ( [NotNull] string reason)
inline

Requests the event to be canceled with a specified reason.

Parameters
reasonCancellation reason

Property Documentation

◆ CancellationReason

string CancellationReason
get

◆ HasCancellationBeenRequested

bool HasCancellationBeenRequested
get