Microsoft.Win32.SessionEndingEventArgs.Cancel Property

Gets or sets a value indicating whether to cancel the user request to end the session.

Syntax

public bool Cancel { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

When set to true, this property requests that the session continue to run. It provides no guarantee that the session will not end.

Requirements

Namespace: Microsoft.Win32
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0