다음을 통해 공유


PlatformNotSupportedException 생성자

정의

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

오버로드

Name Description
PlatformNotSupportedException()

기본 속성을 사용하여 클래스의 새 인스턴스를 PlatformNotSupportedException 초기화합니다.

PlatformNotSupportedException(String)

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

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

직렬화된 데이터를 사용하여 클래스의 새 인스턴스를 PlatformNotSupportedException 초기화합니다.

PlatformNotSupportedException(String, Exception)

지정된 오류 메시지와 이 예외의 PlatformNotSupportedException 원인인 내부 예외에 대한 참조를 사용하여 클래스의 새 인스턴스를 초기화합니다.

PlatformNotSupportedException()

Source:
PlatformNotSupportedException.cs
Source:
PlatformNotSupportedException.cs
Source:
PlatformNotSupportedException.cs
Source:
PlatformNotSupportedException.cs
Source:
PlatformNotSupportedException.cs

기본 속성을 사용하여 클래스의 새 인스턴스를 PlatformNotSupportedException 초기화합니다.

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

설명

이 생성자를 호출하여 클래스의 PlatformNotSupportedException 인스턴스를 만들면 다음 속성이 지정된 값으로 초기화됩니다.

재산 가치
InnerException null;
Message 빈 문자열입니다.

적용 대상

PlatformNotSupportedException(String)

Source:
PlatformNotSupportedException.cs
Source:
PlatformNotSupportedException.cs
Source:
PlatformNotSupportedException.cs
Source:
PlatformNotSupportedException.cs
Source:
PlatformNotSupportedException.cs

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

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

매개 변수

message
String

예외의 이유를 설명하는 문자 메시지입니다.

설명

이 생성자를 호출하여 클래스의 PlatformNotSupportedException 인스턴스를 만들면 다음 속성이 지정된 값으로 초기화됩니다.

재산 가치
InnerException null;
Message 오류 메시지 문자열입니다.

적용 대상

PlatformNotSupportedException(SerializationInfo, StreamingContext)

Source:
PlatformNotSupportedException.cs
Source:
PlatformNotSupportedException.cs
Source:
PlatformNotSupportedException.cs
Source:
PlatformNotSupportedException.cs
Source:
PlatformNotSupportedException.cs

주의

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

직렬화된 데이터를 사용하여 클래스의 새 인스턴스를 PlatformNotSupportedException 초기화합니다.

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

매개 변수

info
SerializationInfo

throw되는 예외에 대한 직렬화된 개체 데이터를 보유하는 SerializationInfo.

context
StreamingContext

원본 또는 대상에 대한 컨텍스트 정보가 포함된 StreamingContext.

특성

적용 대상

PlatformNotSupportedException(String, Exception)

Source:
PlatformNotSupportedException.cs
Source:
PlatformNotSupportedException.cs
Source:
PlatformNotSupportedException.cs
Source:
PlatformNotSupportedException.cs
Source:
PlatformNotSupportedException.cs

지정된 오류 메시지와 이 예외의 PlatformNotSupportedException 원인인 내부 예외에 대한 참조를 사용하여 클래스의 새 인스턴스를 초기화합니다.

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

매개 변수

message
String

예외의 이유를 설명하는 오류 메시지입니다.

inner
Exception

현재 예외의 원인인 예외입니다. 매개 변수가 inner 아닌 null경우 내부 예외를 catch 처리하는 블록에서 현재 예외가 발생합니다.

설명

이전 예외의 직접적인 결과로 throw되는 예외에는 속성의 이전 예외에 대한 참조가 InnerException 포함되어야 합니다. 속성 생성 InnerException 자에 전달 되는 동일한 값을 반환 하거나 null 속성 생성자에 내부 예외 값을 제공 하지 않는 경우 InnerException .

다음 표에서는 인스턴스 PlatformNotSupportedException에 대한 초기 속성 값을 보여 줍니다.

재산 가치
InnerException 내부 예외 참조입니다.
Message 오류 메시지 문자열입니다.

적용 대상