This documentation is archived and is not being maintained.
SessionEndingEventArgs.Cancel Property
.NET Framework 1.1
Gets or sets a value indicating whether to cancel the user request to end the session.
[Visual Basic] Public Property Cancel As Boolean [C#] public bool Cancel {get; set;} [C++] public: __property bool get_Cancel(); public: __property void set_Cancel(bool); [JScript] public function get Cancel() : Boolean; public function set Cancel(Boolean);
Property Value
true to cancel the user request to end the session; otherwise, false.
Remarks
When set to false, this property requests that the session continue to run. It provides no guarantee that the session will not end.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also
SessionEndingEventArgs Class | SessionEndingEventArgs Members | Microsoft.Win32 Namespace
Show: