Bagikan melalui


DirectoryException Konstruktor

Definisi

DirectoryException() Konstruktor membuat instans DirectoryException kelas .

Overload

DirectoryException()

DirectoryException() Konstruktor membuat instans DirectoryException kelas .

DirectoryException(String)

DirectoryException(String) Konstruktor membuat instans DirectoryException kelas menggunakan parameter yang ditentukan.

DirectoryException(SerializationInfo, StreamingContext)
Kedaluwarsa.

DirectoryException(SerializationInfo, StreamingContext) Konstruktor membuat instans DirectoryException kelas menggunakan informasi serialisasi yang ditentukan dan informasi kontekstual streaming.

DirectoryException(String, Exception)

DirectoryException(String, Exception) Konstruktor membuat instans DirectoryException kelas menggunakan parameter yang ditentukan.

DirectoryException()

Sumber:
DirectoryException.cs
Sumber:
DirectoryException.cs
Sumber:
DirectoryException.cs

DirectoryException() Konstruktor membuat instans DirectoryException kelas .

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

Berlaku untuk

DirectoryException(String)

Sumber:
DirectoryException.cs
Sumber:
DirectoryException.cs
Sumber:
DirectoryException.cs

DirectoryException(String) Konstruktor membuat instans DirectoryException kelas menggunakan parameter yang ditentukan.

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

Parameter

message
String

Pesan ditampilkan kepada klien ketika pengecualian dilemparkan.

Berlaku untuk

DirectoryException(SerializationInfo, StreamingContext)

Sumber:
DirectoryException.cs
Sumber:
DirectoryException.cs
Sumber:
DirectoryException.cs

Perhatian

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

DirectoryException(SerializationInfo, StreamingContext) Konstruktor membuat instans DirectoryException kelas menggunakan informasi serialisasi yang ditentukan dan informasi kontekstual streaming.

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

Parameter

info
SerializationInfo

Data objek berseri tentang pengecualian yang dilemparkan.

context
StreamingContext

Informasi kontekstual tentang sumber atau tujuan.

Atribut

Berlaku untuk

DirectoryException(String, Exception)

Sumber:
DirectoryException.cs
Sumber:
DirectoryException.cs
Sumber:
DirectoryException.cs

DirectoryException(String, Exception) Konstruktor membuat instans DirectoryException kelas menggunakan parameter yang ditentukan.

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

Parameter

message
String

Pesan ditampilkan kepada klien ketika pengecualian dilemparkan.

inner
Exception

, InnerExceptionjika ada, yang melemparkan pengecualian.

Berlaku untuk