SyncFromAllServersOperationException 构造函数

定义

初始化 SyncFromAllServersOperationException 类的新实例。

重载

SyncFromAllServersOperationException()

初始化 SyncFromAllServersOperationException 类的新实例。

SyncFromAllServersOperationException(String)

用指定的错误消息初始化 SyncFromAllServersOperationException 类的新实例。

SyncFromAllServersOperationException(SerializationInfo, StreamingContext)
已过时.

使用指定的序列化信息和流上下文初始化 SyncFromAllServersOperationException 类的新实例。

SyncFromAllServersOperationException(String, Exception)

用指定的错误消息和基础异常对象初始化 SyncFromAllServersOperationException 类的新实例。

SyncFromAllServersOperationException(String, Exception, SyncFromAllServersErrorInformation[])

用指定的错误信息、基础异常对象和指定的 SyncFromAllServersOperationException 对象初始化 SyncFromAllServersErrorInformation 类的新实例。

SyncFromAllServersOperationException()

Source:
Exception.cs
Source:
Exception.cs
Source:
Exception.cs

初始化 SyncFromAllServersOperationException 类的新实例。

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

适用于

SyncFromAllServersOperationException(String)

Source:
Exception.cs
Source:
Exception.cs
Source:
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)

Source:
Exception.cs
Source:
Exception.cs
Source:
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)

Source:
Exception.cs
Source:
Exception.cs
Source:
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[])

Source:
Exception.cs
Source:
Exception.cs
Source:
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 对象组成的数组。

另请参阅

适用于