AuthenticationExceptionとは何? わかりやすく解説 Weblio辞書 (original) (raw)
AuthenticationException クラス
メモ : このクラスは、.NET Framework version 2.0 で新しく追加されたものです。
名前空間: System.Security.Authentication
アセンブリ: System (system.dll 内)
構文
_ Public Class AuthenticationException Inherits SystemException
Dim instance As AuthenticationException
[SerializableAttribute] public class AuthenticationException : SystemException
[SerializableAttribute] public ref class AuthenticationException : public SystemException
/** @attribute SerializableAttribute() */ public class AuthenticationException extends SystemException
SerializableAttribute public class AuthenticationException extends SystemException
NegotiateStream クラスおよび SslStream クラスは、クライアントまたはサーバーを認証できない場合にこの例外をスローします。この例外がスローされた場合、別の資格情報を使用して認証を再試行できます。認証を再試行できない場合は、AuthenticationException の代わりに FatalAuthenticationException がスローされます。
NegotiateStream | SslStream
System.Object
System.Exception
System.SystemException
System.Security.Authentication.AuthenticationException
System.Security.Authentication.InvalidCredentialException
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
関連項目
AuthenticationException メンバ
System.Security.Authentication 名前空間
AuthenticationException コンストラクタ ()
メモ : このコンストラクタは、.NET Framework version 2.0 で新しく追加されたものです。
メッセージを指定せずに、AuthenticationException クラスの新しいインスタンスを初期化します。
名前空間: System.Security.Authentication
アセンブリ: System (system.dll 内)
構文
Dim instance As New AuthenticationException
public AuthenticationException ()
public: AuthenticationException ()
public AuthenticationException ()
public function AuthenticationException ()
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
関連項目
AuthenticationException クラス
AuthenticationException メンバ
System.Security.Authentication 名前空間
AuthenticationException コンストラクタ (String)
メモ : このコンストラクタは、.NET Framework version 2.0 で新しく追加されたものです。
指定したメッセージを使用して、AuthenticationException クラスの新しいインスタンスを初期化します。
名前空間: System.Security.Authentication
アセンブリ: System (system.dll 内)
構文
Public Sub New ( _ message As String _ )
Dim instance As New AuthenticationException(message)
public AuthenticationException ( string message )
public: AuthenticationException ( String^ message )
public AuthenticationException ( String message )
public function AuthenticationException ( message : String )
このコンストラクタは、**message** パラメータ内のテキストを使用して Message プロパティを初期化します。InnerException プロパティが null 参照 (Visual Basic では Nothing) に設定されています。
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
関連項目
AuthenticationException クラス
AuthenticationException メンバ
System.Security.Authentication 名前空間
NegotiateStream
SslStream
AuthenticationException コンストラクタ (String, Exception)
メモ : このコンストラクタは、.NET Framework version 2.0 で新しく追加されたものです。
指定したメッセージと内部例外を使用して、AuthenticationException クラスの新しいインスタンスを初期化します。
名前空間: System.Security.Authentication
アセンブリ: System (system.dll 内)
構文
Public Sub New ( _ message As String, _ innerException As Exception _ )
Dim message As String Dim innerException As Exception
Dim instance As New AuthenticationException(message, innerException)
public AuthenticationException ( string message, Exception innerException )
public: AuthenticationException ( String^ message, Exception^ innerException )
public AuthenticationException ( String message, Exception innerException )
public function AuthenticationException ( message : String, innerException : Exception )
innerException
このコンストラクタは、**message** パラメータ内のテキストを使用して Message プロパティを初期化し、innerException パラメータの値を使用して InnerException プロパティを初期化します。
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
関連項目
AuthenticationException クラス
AuthenticationException メンバ
System.Security.Authentication 名前空間
NegotiateStream
SslStream
AuthenticationException コンストラクタ
AuthenticationException クラスの新しいインスタンスを初期化します。
オーバーロードの一覧
| 名前 | 説明 |
|---|---|
| AuthenticationException () | メッセージを指定せずに、AuthenticationException クラスの新しいインスタンスを初期化します。 |
| AuthenticationException (String) | 指定したメッセージを使用して、AuthenticationException クラスの新しいインスタンスを初期化します。 |
| AuthenticationException (SerializationInfo, StreamingContext) | SerializationInfo クラスと StreamingContext クラスの指定したインスタンスから、AuthenticationException クラスの新しいインスタンスを初期化します。 |
| AuthenticationException (String, Exception) | 指定したメッセージと内部例外を使用して、AuthenticationException クラスの新しいインスタンスを初期化します。 |
関連項目
AuthenticationException クラス
AuthenticationException メンバ
System.Security.Authentication 名前空間
AuthenticationException コンストラクタ (SerializationInfo, StreamingContext)
メモ : このコンストラクタは、.NET Framework version 2.0 で新しく追加されたものです。
このコンストラクタは、.NET Framework インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。
SerializationInfo クラスと StreamingContext クラスの指定したインスタンスから、AuthenticationException クラスの新しいインスタンスを初期化します。
名前空間: System.Security.Authentication
アセンブリ: System (system.dll 内)
構文
Protected Sub New ( _ serializationInfo As SerializationInfo, _ streamingContext As StreamingContext _ )
Dim serializationInfo As SerializationInfo Dim streamingContext As StreamingContext
Dim instance As New AuthenticationException(serializationInfo, streamingContext)
protected AuthenticationException ( SerializationInfo serializationInfo, StreamingContext streamingContext )
protected: AuthenticationException ( SerializationInfo^ serializationInfo, StreamingContext streamingContext )
protected AuthenticationException ( SerializationInfo serializationInfo, StreamingContext streamingContext )
protected function AuthenticationException ( serializationInfo : SerializationInfo, streamingContext : StreamingContext )
serializationInfo
新しい AuthenticationException インスタンスを逆シリアル化するために必要な情報を格納する SerializationInfo インスタンス。
streamingContext
StreamingContext のインスタンス。
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
関連項目
AuthenticationException クラス
AuthenticationException メンバ
System.Security.Authentication 名前空間
NegotiateStream
SslStream
その他の技術情報
XML シリアル化および SOAP シリアル化
AuthenticationException プロパティ
| | 名前 | 説明 | |
| --------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
| Data | 例外に関する追加のユーザー定義情報を提供するキー/値ペアのコレクションを取得します。 (Exception から継承されます。) |
|
| HelpLink | 例外に関連付けられているヘルプ ファイルへのリンクを取得または設定します。 (Exception から継承されます。) |
|
| InnerException | 現在の例外を発生させた Exception インスタンスを取得します。 (Exception から継承されます。) |
|
| Message | 現在の例外を説明するメッセージを取得します。 (Exception から継承されます。) |
|
| Source | エラーの原因となったアプリケーションまたはオブジェクトの名前を取得または設定します。 (Exception から継承されます。) |
|
| StackTrace | 現在の例外がスローされたときにコール スタックにあったフレームの文字列形式を取得します。 (Exception から継承されます。) |
|
| TargetSite | 現在の例外をスローするメソッドを取得します。 (Exception から継承されます。) |
| | 名前 | 説明 | |
| ---------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| HResult | 特定の例外に割り当てられているコード化数値である HRESULT を取得または設定します。 (Exception から継承されます。) |
関連項目
AuthenticationException クラス
System.Security.Authentication 名前空間
AuthenticationException メソッド
| | 名前 | 説明 | |
| ------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
| Equals | オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 (Object から継承されます。) |
|
| GetBaseException | 派生クラスでオーバーライドされた場合、それ以後に発生する 1 つ以上の例外の主要な原因である Exception を返します。 (Exception から継承されます。) |
|
| GetHashCode | 特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 (Object から継承されます。) |
|
| GetObjectData | 派生クラスでオーバーライドされた場合は、その例外に関する情報を使用して SerializationInfo を設定します。 (Exception から継承されます。) |
|
| GetType | 現在のインスタンスのランタイム型を取得します。 (Exception から継承されます。) |
|
| ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。) |
|
| ToString | 現在の例外の文字列形式を作成して返します。 (Exception から継承されます。) |
| | 名前 | 説明 | |
| ------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 (Object から継承されます。) |
|
| MemberwiseClone | 現在の Object の簡易コピーを作成します。 (Object から継承されます。) |
関連項目
AuthenticationException クラス
System.Security.Authentication 名前空間
AuthenticationException メンバ
AuthenticationExceptionデータ型で公開されるメンバを以下の表に示します。
| | 名前 | 説明 | |
| ------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| AuthenticationException | オーバーロードされます。 AuthenticationException クラスの新しいインスタンスを初期化します。 |
| | 名前 | 説明 | |
| ------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| AuthenticationException | オーバーロードされます。 AuthenticationException クラスの新しいインスタンスを初期化します。 |
| | 名前 | 説明 | |
| --------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| Data | 例外に関する追加のユーザー定義情報を提供するキー/値ペアのコレクションを取得します。(Exception から継承されます。) |
|
| HelpLink | 例外に関連付けられているヘルプ ファイルへのリンクを取得または設定します。(Exception から継承されます。) |
|
| InnerException | 現在の例外を発生させた Exception インスタンスを取得します。(Exception から継承されます。) |
|
| Message | 現在の例外を説明するメッセージを取得します。(Exception から継承されます。) |
|
| Source | エラーの原因となったアプリケーションまたはオブジェクトの名前を取得または設定します。(Exception から継承されます。) |
|
| StackTrace | 現在の例外がスローされたときにコール スタックにあったフレームの文字列形式を取得します。(Exception から継承されます。) |
|
| TargetSite | 現在の例外をスローするメソッドを取得します。(Exception から継承されます。) |
| | 名前 | 説明 | |
| ---------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| HResult | 特定の例外に割り当てられているコード化数値である HRESULT を取得または設定します。(Exception から継承されます。) |
| | 名前 | 説明 | |
| ------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
| Equals | オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 (Object から継承されます。) |
|
| GetBaseException | 派生クラスでオーバーライドされた場合、それ以後に発生する 1 つ以上の例外の主要な原因である Exception を返します。 (Exception から継承されます。) |
|
| GetHashCode | 特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 (Object から継承されます。) |
|
| GetObjectData | 派生クラスでオーバーライドされた場合は、その例外に関する情報を使用して SerializationInfo を設定します。 (Exception から継承されます。) |
|
| GetType | 現在のインスタンスのランタイム型を取得します。 (Exception から継承されます。) |
|
| ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。) |
|
| ToString | 現在の例外の文字列形式を作成して返します。 (Exception から継承されます。) |
| | 名前 | 説明 | |
| ------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 (Object から継承されます。) |
|
| MemberwiseClone | 現在の Object の簡易コピーを作成します。 (Object から継承されます。) |
関連項目
AuthenticationException クラス
System.Security.Authentication 名前空間