共用方式為


SyncFromAllServersOperationException 建構函式

定義

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

多載

SyncFromAllServersOperationException()

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

SyncFromAllServersOperationException(String)

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

SyncFromAllServersOperationException(SerializationInfo, StreamingContext)
已淘汰.

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

SyncFromAllServersOperationException(String, Exception)

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

SyncFromAllServersOperationException(String, Exception, SyncFromAllServersErrorInformation[])

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

SyncFromAllServersOperationException()

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

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

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

適用於

SyncFromAllServersOperationException(String)

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

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

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

參數

message
String

描述錯誤的訊息。

適用於

SyncFromAllServersOperationException(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.

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

protected:
 SyncFromAllServersOperationException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SyncFromAllServersOperationException (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 SyncFromAllServersOperationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.DirectoryServices.ActiveDirectory.SyncFromAllServersOperationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.ActiveDirectory.SyncFromAllServersOperationException
[<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.SyncFromAllServersOperationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.ActiveDirectory.SyncFromAllServersOperationException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

參數

info
SerializationInfo

例外狀況的 SerializationInfo 物件。

context
StreamingContext

例外狀況的 StreamingContext 物件。

屬性

適用於

SyncFromAllServersOperationException(String, Exception)

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

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

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

參數

message
String

描述錯誤的訊息。

inner
Exception

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

適用於

SyncFromAllServersOperationException(String, Exception, SyncFromAllServersErrorInformation[])

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

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

public:
 SyncFromAllServersOperationException(System::String ^ message, Exception ^ inner, cli::array <System::DirectoryServices::ActiveDirectory::SyncFromAllServersErrorInformation ^> ^ errors);
public SyncFromAllServersOperationException (string message, Exception inner, System.DirectoryServices.ActiveDirectory.SyncFromAllServersErrorInformation[] errors);
public SyncFromAllServersOperationException (string? message, Exception? inner, System.DirectoryServices.ActiveDirectory.SyncFromAllServersErrorInformation[]? errors);
new System.DirectoryServices.ActiveDirectory.SyncFromAllServersOperationException : string * Exception * System.DirectoryServices.ActiveDirectory.SyncFromAllServersErrorInformation[] -> System.DirectoryServices.ActiveDirectory.SyncFromAllServersOperationException
Public Sub New (message As String, inner As Exception, errors As SyncFromAllServersErrorInformation())

參數

message
String

描述錯誤的訊息。

inner
Exception

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

errors
SyncFromAllServersErrorInformation[]

描述錯誤的一或多個 SyncFromAllServersErrorInformation 物件的陣列。

另請參閱

適用於