Επεξεργασία

Κοινή χρήση μέσω


ActiveDirectoryObjectNotFoundException Constructors

Definition

Initializes a new instance of the ActiveDirectoryObjectNotFoundException class.

Overloads

ActiveDirectoryObjectNotFoundException()

Initializes a new instance of the ActiveDirectoryObjectNotFoundException class.

ActiveDirectoryObjectNotFoundException(String)

Initializes a new instance of the ActiveDirectoryObjectNotFoundException class with a specified error message.

ActiveDirectoryObjectNotFoundException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the ActiveDirectoryObjectNotFoundException class, using the specified serialization information and streaming context.

ActiveDirectoryObjectNotFoundException(String, Exception)

Initializes a new instance of the ActiveDirectoryObjectNotFoundException class with a specified error message and an underlying exception object.

ActiveDirectoryObjectNotFoundException(String, Type, String)

Initializes a new instance of the ActiveDirectoryObjectNotFoundException class with a specified error message and information about the requested object.

ActiveDirectoryObjectNotFoundException()

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

Initializes a new instance of the ActiveDirectoryObjectNotFoundException class.

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

See also

Applies to

ActiveDirectoryObjectNotFoundException(String)

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

Initializes a new instance of the ActiveDirectoryObjectNotFoundException class with a specified error message.

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

Parameters

message
String

A message that describes the error.

See also

Applies to

ActiveDirectoryObjectNotFoundException(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 ActiveDirectoryObjectNotFoundException class, using the specified serialization information and streaming context.

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

Parameters

info
SerializationInfo

The SerializationInfo object for the exception.

context
StreamingContext

The StreamingContext for the exception.

Attributes

See also

Applies to

ActiveDirectoryObjectNotFoundException(String, Exception)

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

Initializes a new instance of the ActiveDirectoryObjectNotFoundException class with a specified error message and an underlying exception object.

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

Parameters

message
String

A message that describes the error.

inner
Exception

An Exception object that contains underlying exception information.

See also

Applies to

ActiveDirectoryObjectNotFoundException(String, Type, String)

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

Initializes a new instance of the ActiveDirectoryObjectNotFoundException class with a specified error message and information about the requested object.

public:
 ActiveDirectoryObjectNotFoundException(System::String ^ message, Type ^ type, System::String ^ name);
public ActiveDirectoryObjectNotFoundException (string? message, Type? type, string? name);
public ActiveDirectoryObjectNotFoundException (string message, Type type, string name);
new System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException : string * Type * string -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException
Public Sub New (message As String, type As Type, name As String)

Parameters

message
String

A message that describes the error.

type
Type

A Type object that describes the type of the requested object.

name
String

A String that contains the name of the requested object.

See also

Applies to