共用方式為


ActiveDirectoryOperationException 建構函式

定義

初始化 ActiveDirectoryOperationException 類別的新執行個體。

多載

ActiveDirectoryOperationException()

初始化 ActiveDirectoryOperationException 類別的新執行個體。

ActiveDirectoryOperationException(String)

使用指定的錯誤訊息,初始化 ActiveDirectoryOperationException 類別的新執行個體。

ActiveDirectoryOperationException(SerializationInfo, StreamingContext)
已淘汰.

使用指定的序列化資訊和資料流內容,初始化 ActiveDirectoryOperationException 類別的新執行個體。

ActiveDirectoryOperationException(String, Exception)

使用指定的錯誤訊息和基礎例外狀況物件,初始化 ActiveDirectoryOperationException 類別的新執行個體。

ActiveDirectoryOperationException(String, Int32)

使用指定的錯誤訊息和指定的錯誤碼,初始化 ActiveDirectoryOperationException 類別的新執行個體。

ActiveDirectoryOperationException(String, Exception, Int32)

使用指定的錯誤訊息、基礎例外狀況物件和指定的錯誤碼,初始化 ActiveDirectoryOperationException 類別的新執行個體。

ActiveDirectoryOperationException()

來源:
Exception.cs
來源:
Exception.cs
來源:
Exception.cs

初始化 ActiveDirectoryOperationException 類別的新執行個體。

public:
 ActiveDirectoryOperationException();
public ActiveDirectoryOperationException ();
Public Sub New ()

另請參閱

適用於

ActiveDirectoryOperationException(String)

來源:
Exception.cs
來源:
Exception.cs
來源:
Exception.cs

使用指定的錯誤訊息,初始化 ActiveDirectoryOperationException 類別的新執行個體。

public:
 ActiveDirectoryOperationException(System::String ^ message);
public ActiveDirectoryOperationException (string message);
public ActiveDirectoryOperationException (string? message);
new System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException : string -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException
Public Sub New (message As String)

參數

message
String

描述錯誤的訊息。

另請參閱

適用於

ActiveDirectoryOperationException(SerializationInfo, StreamingContext)

來源:
Exception.cs
來源:
Exception.cs
來源:
Exception.cs

警告

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

使用指定的序列化資訊和資料流內容,初始化 ActiveDirectoryOperationException 類別的新執行個體。

protected:
 ActiveDirectoryOperationException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ActiveDirectoryOperationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected ActiveDirectoryOperationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

參數

info
SerializationInfo

例外狀況的 SerializationInfo 物件。

context
StreamingContext

例外狀況的 StreamingContext 物件。

屬性

另請參閱

適用於

ActiveDirectoryOperationException(String, Exception)

來源:
Exception.cs
來源:
Exception.cs
來源:
Exception.cs

使用指定的錯誤訊息和基礎例外狀況物件,初始化 ActiveDirectoryOperationException 類別的新執行個體。

public:
 ActiveDirectoryOperationException(System::String ^ message, Exception ^ inner);
public ActiveDirectoryOperationException (string message, Exception inner);
public ActiveDirectoryOperationException (string? message, Exception? inner);
new System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException : string * Exception -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException
Public Sub New (message As String, inner As Exception)

參數

message
String

描述錯誤的訊息。

inner
Exception

Exception 物件,包含基礎例外狀況資訊。

另請參閱

適用於

ActiveDirectoryOperationException(String, Int32)

來源:
Exception.cs
來源:
Exception.cs
來源:
Exception.cs

使用指定的錯誤訊息和指定的錯誤碼,初始化 ActiveDirectoryOperationException 類別的新執行個體。

public:
 ActiveDirectoryOperationException(System::String ^ message, int errorCode);
public ActiveDirectoryOperationException (string message, int errorCode);
public ActiveDirectoryOperationException (string? message, int errorCode);
new System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException : string * int -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException
Public Sub New (message As String, errorCode As Integer)

參數

message
String

描述錯誤的訊息。

errorCode
Int32

識別錯誤的錯誤碼。

另請參閱

適用於

ActiveDirectoryOperationException(String, Exception, Int32)

來源:
Exception.cs
來源:
Exception.cs
來源:
Exception.cs

使用指定的錯誤訊息、基礎例外狀況物件和指定的錯誤碼,初始化 ActiveDirectoryOperationException 類別的新執行個體。

public:
 ActiveDirectoryOperationException(System::String ^ message, Exception ^ inner, int errorCode);
public ActiveDirectoryOperationException (string message, Exception inner, int errorCode);
public ActiveDirectoryOperationException (string? message, Exception? inner, int errorCode);
new System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException : string * Exception * int -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException
Public Sub New (message As String, inner As Exception, errorCode As Integer)

參數

message
String

描述錯誤的訊息。

inner
Exception

Exception 物件,包含基礎例外狀況資訊。

errorCode
Int32

識別錯誤的錯誤碼。

另請參閱

適用於