SyncFromAllServersOperationException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the SyncFromAllServersOperationException class.
Overloads
SyncFromAllServersOperationException() |
Initializes a new instance of the SyncFromAllServersOperationException class. |
SyncFromAllServersOperationException(String) |
Initializes a new instance of the SyncFromAllServersOperationException class with a specified error message. |
SyncFromAllServersOperationException(SerializationInfo, StreamingContext) |
Obsolete.
Initializes a new instance of the SyncFromAllServersOperationException class, using the specified serialization information and streaming context. |
SyncFromAllServersOperationException(String, Exception) |
Initializes a new instance of the SyncFromAllServersOperationException class with a specified error message and an underlying exception object. |
SyncFromAllServersOperationException(String, Exception, SyncFromAllServersErrorInformation[]) |
Initializes a new instance of the SyncFromAllServersOperationException class with a specified error message, an underlying exception object, and a specified SyncFromAllServersErrorInformation object. |
SyncFromAllServersOperationException()
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
Initializes a new instance of the SyncFromAllServersOperationException class.
public:
SyncFromAllServersOperationException();
public SyncFromAllServersOperationException ();
Public Sub New ()
Applies to
SyncFromAllServersOperationException(String)
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
Initializes a new instance of the SyncFromAllServersOperationException class with a specified error message.
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)
Parameters
- message
- String
A message that describes the error.
Applies to
SyncFromAllServersOperationException(SerializationInfo, StreamingContext)
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
Caution
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Initializes a new instance of the SyncFromAllServersOperationException class, using the specified serialization information and streaming 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);
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}")>]
new System.DirectoryServices.ActiveDirectory.SyncFromAllServersOperationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.ActiveDirectory.SyncFromAllServersOperationException
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)
Parameters
- info
- SerializationInfo
The SerializationInfo object for the exception.
- context
- StreamingContext
The StreamingContext object for the exception.
- Attributes
Applies to
SyncFromAllServersOperationException(String, Exception)
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
Initializes a new instance of the SyncFromAllServersOperationException class with a specified error message and an underlying exception object.
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)
Parameters
- message
- String
A message that describes the error.
Applies to
SyncFromAllServersOperationException(String, Exception, SyncFromAllServersErrorInformation[])
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
- Source:
- Exception.cs
Initializes a new instance of the SyncFromAllServersOperationException class with a specified error message, an underlying exception object, and a specified SyncFromAllServersErrorInformation object.
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())
Parameters
- message
- String
A message that describes the error.
- errors
- SyncFromAllServersErrorInformation[]
An array of one or more SyncFromAllServersErrorInformation objects that describe the errors.