다음을 통해 공유


DirectoryServicesCOMException 생성자

정의

DirectoryServicesCOMException 클래스의 새 인스턴스를 초기화합니다.

오버로드

DirectoryServicesCOMException()

DirectoryServicesCOMException 클래스의 새 인스턴스를 초기화합니다.

DirectoryServicesCOMException(String)

지정된 문자열을 사용하여 DirectoryServicesCOMException 클래스의 새 인스턴스를 초기화합니다.

DirectoryServicesCOMException(SerializationInfo, StreamingContext)
사용되지 않음.

지정한 직렬화 정보와 스트리밍 컨텍스트를 포함하는 DirectoryServicesCOMException 클래스의 새 인스턴스를 초기화합니다.

DirectoryServicesCOMException(String, Exception)

지정된 문자열과 예외를 사용하여 DirectoryServicesCOMException 클래스의 새 인스턴스를 초기화합니다.

DirectoryServicesCOMException()

Source:
DirectoryServicesCOMException.cs
Source:
DirectoryServicesCOMException.cs
Source:
DirectoryServicesCOMException.cs

DirectoryServicesCOMException 클래스의 새 인스턴스를 초기화합니다.

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

적용 대상

DirectoryServicesCOMException(String)

Source:
DirectoryServicesCOMException.cs
Source:
DirectoryServicesCOMException.cs
Source:
DirectoryServicesCOMException.cs

지정된 문자열을 사용하여 DirectoryServicesCOMException 클래스의 새 인스턴스를 초기화합니다.

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

매개 변수

message
String

오류를 설명하는 메시지입니다.

적용 대상

DirectoryServicesCOMException(SerializationInfo, StreamingContext)

Source:
DirectoryServicesCOMException.cs
Source:
DirectoryServicesCOMException.cs
Source:
DirectoryServicesCOMException.cs

주의

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

지정한 직렬화 정보와 스트리밍 컨텍스트를 포함하는 DirectoryServicesCOMException 클래스의 새 인스턴스를 초기화합니다.

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

매개 변수

info
SerializationInfo

데이터로 채울 SerializationInfo입니다.

context
StreamingContext

이 serialization의 StreamingContext 대상입니다.

특성

적용 대상

DirectoryServicesCOMException(String, Exception)

Source:
DirectoryServicesCOMException.cs
Source:
DirectoryServicesCOMException.cs
Source:
DirectoryServicesCOMException.cs

지정된 문자열과 예외를 사용하여 DirectoryServicesCOMException 클래스의 새 인스턴스를 초기화합니다.

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

매개 변수

message
String

오류를 설명하는 메시지입니다.

inner
Exception

현재 예외의 원인인 예외입니다.

적용 대상