<?xml version="1.0" encoding="utf-8"?>
<Type Name="SessionSwitchReason" FullName="Microsoft.Win32.SessionSwitchReason">
  <TypeSignature Language="C#" Value="public enum SessionSwitchReason" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi sealed SessionSwitchReason extends System.Enum" />
  <AssemblyInfo>
    <AssemblyName>System</AssemblyName>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
    <AssemblyVersion>4.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Enum</BaseTypeName>
  </Base>
  <Docs>
    <since version=".NET 2.0" />
    <remarks>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>The <see cref="T:Microsoft.Win32.SessionSwitchEventArgs" /> class uses the <see cref="T:Microsoft.Win32.SessionSwitchReason" /> class to represent the type of a session switch event.</para>
    </remarks>
    <summary>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Defines identifiers used to represent the type of a session switch event.</para>
    </summary>
  </Docs>
  <Members>
    <Member MemberName="ConsoleConnect">
      <MemberSignature Language="C#" Value="ConsoleConnect" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Win32.SessionSwitchReason ConsoleConnect = int32(1)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>Microsoft.Win32.SessionSwitchReason</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>A session has been connected from the console.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="ConsoleDisconnect">
      <MemberSignature Language="C#" Value="ConsoleDisconnect" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Win32.SessionSwitchReason ConsoleDisconnect = int32(2)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>Microsoft.Win32.SessionSwitchReason</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>A session has been disconnected from the console.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="RemoteConnect">
      <MemberSignature Language="C#" Value="RemoteConnect" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Win32.SessionSwitchReason RemoteConnect = int32(3)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>Microsoft.Win32.SessionSwitchReason</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>A session has been connected from a remote connection.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="RemoteDisconnect">
      <MemberSignature Language="C#" Value="RemoteDisconnect" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Win32.SessionSwitchReason RemoteDisconnect = int32(4)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>Microsoft.Win32.SessionSwitchReason</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>A session has been disconnected from a remote connection.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="SessionLock">
      <MemberSignature Language="C#" Value="SessionLock" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Win32.SessionSwitchReason SessionLock = int32(7)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>Microsoft.Win32.SessionSwitchReason</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>A session has been locked.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="SessionLogoff">
      <MemberSignature Language="C#" Value="SessionLogoff" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Win32.SessionSwitchReason SessionLogoff = int32(6)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>Microsoft.Win32.SessionSwitchReason</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>A user has logged off from a session.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="SessionLogon">
      <MemberSignature Language="C#" Value="SessionLogon" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Win32.SessionSwitchReason SessionLogon = int32(5)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>Microsoft.Win32.SessionSwitchReason</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>A user has logged on to a session.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="SessionRemoteControl">
      <MemberSignature Language="C#" Value="SessionRemoteControl" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Win32.SessionSwitchReason SessionRemoteControl = int32(9)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>Microsoft.Win32.SessionSwitchReason</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>A session has changed its status to or from remote controlled mode.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="SessionUnlock">
      <MemberSignature Language="C#" Value="SessionUnlock" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Win32.SessionSwitchReason SessionUnlock = int32(8)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>Microsoft.Win32.SessionSwitchReason</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>A session has been unlocked.</para>
        </summary>
      </Docs>
    </Member>
  </Members>
</Type>