ManagementException 생성자

정의

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

오버로드

ManagementException()

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

ManagementException(String)

지정된 오류 메시지를 사용하여 ManagementException 클래스의 새 인스턴스를 초기화합니다.

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

serialize할 수 있는 ManagementException 클래스의 새 인스턴스를 초기화합니다.

ManagementException(String, Exception)

ManagementException 클래스의 비어 있는 새 인스턴스를 초기화합니다. innerException 매개 변수가 null이 아니면 현재 예외는 내부 예외를 처리하는 catch 블록에서 발생합니다.

ManagementException()

Source:
ManagementException.cs
Source:
ManagementException.cs
Source:
ManagementException.cs

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

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

설명

.NET Framework 보안

직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분적으로 신뢰할 수 있는 코드에서 라이브러리를 사용 하 여입니다.

적용 대상

ManagementException(String)

Source:
ManagementException.cs
Source:
ManagementException.cs
Source:
ManagementException.cs

지정된 오류 메시지를 사용하여 ManagementException 클래스의 새 인스턴스를 초기화합니다.

public:
 ManagementException(System::String ^ message);
public ManagementException (string message);
new System.Management.ManagementException : string -> System.Management.ManagementException
Public Sub New (message As String)

매개 변수

message
String

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

적용 대상

ManagementException(SerializationInfo, StreamingContext)

Source:
ManagementException.cs
Source:
ManagementException.cs
Source:
ManagementException.cs

주의

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

serialize할 수 있는 ManagementException 클래스의 새 인스턴스를 초기화합니다.

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

매개 변수

info
SerializationInfo

데이터로 채울 SerializationInfo입니다.

context
StreamingContext

이 serialization의 StreamingContext 대상입니다.

특성

설명

.NET Framework 보안

직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분적으로 신뢰할 수 있는 코드에서 라이브러리를 사용 하 여입니다.

적용 대상

ManagementException(String, Exception)

Source:
ManagementException.cs
Source:
ManagementException.cs
Source:
ManagementException.cs

ManagementException 클래스의 비어 있는 새 인스턴스를 초기화합니다. innerException 매개 변수가 null이 아니면 현재 예외는 내부 예외를 처리하는 catch 블록에서 발생합니다.

public:
 ManagementException(System::String ^ message, Exception ^ innerException);
public ManagementException (string message, Exception innerException);
new System.Management.ManagementException : string * Exception -> System.Management.ManagementException
Public Sub New (message As String, innerException As Exception)

매개 변수

message
String

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

innerException
Exception

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

설명

.NET Framework 보안

직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분적으로 신뢰할 수 있는 코드에서 라이브러리를 사용 하 여입니다.

적용 대상