NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

SessionEndingEventArgs.Cancel

You may set this property to true to cancel the user request to end the session. This is no guarantee that the session won't end, it is just a request to keep it running.

[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);

See Also

SessionEndingEventArgs Class | SessionEndingEventArgs Members | System.Core Namespace