IUIThreadOperationContext.AllowCancellation 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.
Gets whether the operation can be cancelled.
public:
property bool AllowCancellation { bool get(); };
public bool AllowCancellation { get; }
member this.AllowCancellation : bool
Public ReadOnly Property AllowCancellation As Boolean
Property Value
Remarks
This value is composed of initial AllowCancellation value and AllowCancellation values of all currently added scopes. The value composition logic takes into acount disposed scopes too - if any of added scopes were disposed while its AllowCancellation was false, this property will stay false regardless of all other scopes' AllowCancellation values.