SessionEndingEventArgs
Provides data for the SessionEnding event.
using System;
namespace Microsoft.Win32
{
public class SessionEndingEventArgs : EventArgs
{
public bool Cancel {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents);
}
set {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents);
}
}
public SessionEndReasons Reason {
get {
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents);
}
}
public SessionEndingEventArgs(SessionEndReasons reason)
{
throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemEvents);
}
}
}