SessionEndingEventArgs(SessionEndReasons) Construtor
Definição
Inicializa uma nova instância da classe SessionEndingEventArgs usando o valor especificado, que indica o tipo de evento de fechamento de sessão que está ocorrendo.Initializes a new instance of the SessionEndingEventArgs class using the specified value indicating the type of session close event that is occurring.
public:
SessionEndingEventArgs(Microsoft::Win32::SessionEndReasons reason);
public SessionEndingEventArgs (Microsoft.Win32.SessionEndReasons reason);
new Microsoft.Win32.SessionEndingEventArgs : Microsoft.Win32.SessionEndReasons -> Microsoft.Win32.SessionEndingEventArgs
Public Sub New (reason As SessionEndReasons)
Parâmetros
- reason
- SessionEndReasons
Uma das SessionEndReasons que especifica como a sessão termina.One of the SessionEndReasons that specifies how the session ends.