IAuthenticationModule.CanPreAuthenticate プロパティ
アセンブリ: System (system.dll 内)

承認モジュールが事前認証をサポートしている場合は true。それ以外の場合は false。

CanPreAuthenticate プロパティは、PreAuthenticate メソッドが呼び出されたときに、認証モジュールが有効な Authorization インスタンスで応答できることを示すために、true に設定されます。
実装時の注意 通常、これは認証モジュールが事前認証を実行できる固定値、または実行できない固定値のいずれかです。
CanPreAuthenticate プロパティを使用する方法の例を次に示します。詳細については、AuthenticationManager クラスのトピックを参照してください。
Private m_authenticationType As String Private m_canPreAuthenticate As Boolean ' The CustomBasic constructor initializes the properties of the customized ' authentication. Public Sub New() m_authenticationType = "Basic" m_canPreAuthenticate = False End Sub 'New ' Define the authentication type. This type is then used to identify this ' custom authentication module. The default is set to Basic. Public ReadOnly Property AuthenticationType() As String _ Implements IAuthenticationModule.AuthenticationType Get Return m_authenticationType End Get End Property ' Define the pre-authentication capabilities for the module. The default is set ' to false. Public ReadOnly Property CanPreAuthenticate() As Boolean _ Implements IAuthenticationModule.CanPreAuthenticate Get Return m_canPreAuthenticate End Get End Property
private string m_authenticationType ; private bool m_canPreAuthenticate ; // The CustomBasic constructor initializes the properties of the customized // authentication. public CustomBasic() { m_authenticationType = "Basic"; m_canPreAuthenticate = false; } // Define the authentication type. This type is then used to identify this // custom authentication module. The default is set to Basic. public string AuthenticationType { get { return m_authenticationType; } } // Define the pre-authentication capabilities for the module. The default is set // to false. public bool CanPreAuthenticate { get { return m_canPreAuthenticate; } }
String^ m_authenticationType; bool m_canPreAuthenticate; public: // The CustomBasic constructor initializes the properties of the customized // authentication. CustomBasic() { m_authenticationType = "Basic"; m_canPreAuthenticate = false; } property String^ AuthenticationType { // Define the authentication type. This type is then used to identify this // custom authentication module. The default is set to Basic. virtual String^ get() { return m_authenticationType; } } property bool CanPreAuthenticate { // Define the pre-authentication capabilities for the module. The default is set // to false. virtual bool get() { return m_canPreAuthenticate; } }
private String m_authenticationType; private boolean m_canPreAuthenticate; // The CustomBasic constructor initializes the properties of the customized // authentication. public CustomBasic() { m_authenticationType = "Basic"; m_canPreAuthenticate = false; } //CustomBasic // Define the authentication type. This type is then used to identify this // custom authentication module. The default is set to Basic. /** @property */ public String get_AuthenticationType() { return m_authenticationType; } //get_AuthenticationType // Define the pre-authentication capabilities for the module. // The default is set to false. /** @property */ public boolean get_CanPreAuthenticate() { return m_canPreAuthenticate; } //get_CanPreAuthenticate

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からIAuthenticationModule.CanPreAuthenticate プロパティを検索する場合は、下記のリンクをクリックしてください。

- IAuthenticationModule.CanPreAuthenticate プロパティのページへのリンク