Редагувати

Поділитися через


DirectoryOperationException Constructors

Definition

The DirectoryOperationException() constructor creates an instance of the DirectoryOperationException class.

Overloads

DirectoryOperationException()

The DirectoryOperationException() constructor creates an instance of the DirectoryOperationException class.

DirectoryOperationException(DirectoryResponse)

The DirectoryOperationException(DirectoryResponse) constructor creates an instance of the DirectoryOperationException class using the specified response object.

DirectoryOperationException(String)

The DirectoryOperationException(String) constructor creates an instance of the DirectoryOperationException class using the specified message.

DirectoryOperationException(DirectoryResponse, String)

The DirectoryOperationException(DirectoryResponse, String) constructor creates an instance of the DirectoryOperationException object using the specified response object and message.

DirectoryOperationException(SerializationInfo, StreamingContext)
Obsolete.

The DirectoryOperationException(SerializationInfo, StreamingContext) constructor creates an instance of the DirectoryOperationException class using the specified serialization information and streaming context.

DirectoryOperationException(String, Exception)

The DirectoryOperationException(String, Exception) constructor creates an instance of the DirectoryOperationException class using the specified message and inner exception.

DirectoryOperationException(DirectoryResponse, String, Exception)

The DirectoryOperationException(DirectoryResponse, String, Exception) constructor creates an instance of the DirectoryOperationException class using the specified response object, message, and inner exception.

DirectoryOperationException()

Source:
DirectoryException.cs
Source:
DirectoryException.cs
Source:
DirectoryException.cs
Source:
DirectoryException.cs

The DirectoryOperationException() constructor creates an instance of the DirectoryOperationException class.

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

Applies to

DirectoryOperationException(DirectoryResponse)

Source:
DirectoryException.cs
Source:
DirectoryException.cs
Source:
DirectoryException.cs
Source:
DirectoryException.cs

The DirectoryOperationException(DirectoryResponse) constructor creates an instance of the DirectoryOperationException class using the specified response object.

public:
 DirectoryOperationException(System::DirectoryServices::Protocols::DirectoryResponse ^ response);
public DirectoryOperationException (System.DirectoryServices.Protocols.DirectoryResponse response);
new System.DirectoryServices.Protocols.DirectoryOperationException : System.DirectoryServices.Protocols.DirectoryResponse -> System.DirectoryServices.Protocols.DirectoryOperationException
Public Sub New (response As DirectoryResponse)

Parameters

response
DirectoryResponse

The DirectoryResponse object returned by the server.

Applies to

DirectoryOperationException(String)

Source:
DirectoryException.cs
Source:
DirectoryException.cs
Source:
DirectoryException.cs
Source:
DirectoryException.cs

The DirectoryOperationException(String) constructor creates an instance of the DirectoryOperationException class using the specified message.

public:
 DirectoryOperationException(System::String ^ message);
public DirectoryOperationException (string message);
new System.DirectoryServices.Protocols.DirectoryOperationException : string -> System.DirectoryServices.Protocols.DirectoryOperationException
Public Sub New (message As String)

Parameters

message
String

The message displayed to the client when the exception is thrown.

Applies to

DirectoryOperationException(DirectoryResponse, String)

Source:
DirectoryException.cs
Source:
DirectoryException.cs
Source:
DirectoryException.cs
Source:
DirectoryException.cs

The DirectoryOperationException(DirectoryResponse, String) constructor creates an instance of the DirectoryOperationException object using the specified response object and message.

public:
 DirectoryOperationException(System::DirectoryServices::Protocols::DirectoryResponse ^ response, System::String ^ message);
public DirectoryOperationException (System.DirectoryServices.Protocols.DirectoryResponse response, string message);
new System.DirectoryServices.Protocols.DirectoryOperationException : System.DirectoryServices.Protocols.DirectoryResponse * string -> System.DirectoryServices.Protocols.DirectoryOperationException
Public Sub New (response As DirectoryResponse, message As String)

Parameters

response
DirectoryResponse

The DirectoryResponse object returned by the server.

message
String

The message displayed to the client when the exception is thrown.

Applies to

DirectoryOperationException(SerializationInfo, StreamingContext)

Source:
DirectoryException.cs
Source:
DirectoryException.cs
Source:
DirectoryException.cs
Source:
DirectoryException.cs

Caution

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

The DirectoryOperationException(SerializationInfo, StreamingContext) constructor creates an instance of the DirectoryOperationException class using the specified serialization information and streaming context.

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

Parameters

info
SerializationInfo

Data required to serialize the parameter.

context
StreamingContext

The source and destination of the serialized stream associated with the parameter.

Attributes

Applies to

DirectoryOperationException(String, Exception)

Source:
DirectoryException.cs
Source:
DirectoryException.cs
Source:
DirectoryException.cs
Source:
DirectoryException.cs

The DirectoryOperationException(String, Exception) constructor creates an instance of the DirectoryOperationException class using the specified message and inner exception.

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

Parameters

message
String

The message displayed to the client when the exception is thrown.

inner
Exception

The InnerException, if any, that threw the exception.

Applies to

DirectoryOperationException(DirectoryResponse, String, Exception)

Source:
DirectoryException.cs
Source:
DirectoryException.cs
Source:
DirectoryException.cs
Source:
DirectoryException.cs

The DirectoryOperationException(DirectoryResponse, String, Exception) constructor creates an instance of the DirectoryOperationException class using the specified response object, message, and inner exception.

public:
 DirectoryOperationException(System::DirectoryServices::Protocols::DirectoryResponse ^ response, System::String ^ message, Exception ^ inner);
public DirectoryOperationException (System.DirectoryServices.Protocols.DirectoryResponse response, string message, Exception inner);
new System.DirectoryServices.Protocols.DirectoryOperationException : System.DirectoryServices.Protocols.DirectoryResponse * string * Exception -> System.DirectoryServices.Protocols.DirectoryOperationException
Public Sub New (response As DirectoryResponse, message As String, inner As Exception)

Parameters

response
DirectoryResponse

The DirectoryResponse object returned by the server.

message
String

The message displayed to the client when the exception is thrown.

inner
Exception

The InnerException, if any, that threw the exception.

Applies to