Share via


SwitchExpressionException 생성자

정의

오버로드

SwitchExpressionException()

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

SwitchExpressionException(Exception)

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

SwitchExpressionException(Object)

일치하지 않는 전환 값을 사용하여 SwitchExpressionException 클래스의 새 인스턴스를 초기화합니다.

SwitchExpressionException(String)

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

SwitchExpressionException(String, Exception)

지정된 예외 및 자세한 설명을 사용하여 SwitchExpressionException 클래스의 새 인스턴스를 초기화합니다.

SwitchExpressionException()

Source:
SwitchExpressionException.cs
Source:
SwitchExpressionException.cs
Source:
SwitchExpressionException.cs

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

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

적용 대상

SwitchExpressionException(Exception)

Source:
SwitchExpressionException.cs
Source:
SwitchExpressionException.cs
Source:
SwitchExpressionException.cs

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

public:
 SwitchExpressionException(Exception ^ innerException);
public SwitchExpressionException (Exception? innerException);
public SwitchExpressionException (Exception innerException);
new System.Runtime.CompilerServices.SwitchExpressionException : Exception -> System.Runtime.CompilerServices.SwitchExpressionException
Public Sub New (innerException As Exception)

매개 변수

innerException
Exception

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

적용 대상

SwitchExpressionException(Object)

Source:
SwitchExpressionException.cs
Source:
SwitchExpressionException.cs
Source:
SwitchExpressionException.cs

일치하지 않는 전환 값을 사용하여 SwitchExpressionException 클래스의 새 인스턴스를 초기화합니다.

public:
 SwitchExpressionException(System::Object ^ unmatchedValue);
public SwitchExpressionException (object? unmatchedValue);
public SwitchExpressionException (object unmatchedValue);
new System.Runtime.CompilerServices.SwitchExpressionException : obj -> System.Runtime.CompilerServices.SwitchExpressionException
Public Sub New (unmatchedValue As Object)

매개 변수

unmatchedValue
Object

전환 사례와 일치하지 않는 전환 값입니다.

적용 대상

SwitchExpressionException(String)

Source:
SwitchExpressionException.cs
Source:
SwitchExpressionException.cs
Source:
SwitchExpressionException.cs

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

public:
 SwitchExpressionException(System::String ^ message);
public SwitchExpressionException (string? message);
public SwitchExpressionException (string message);
new System.Runtime.CompilerServices.SwitchExpressionException : string -> System.Runtime.CompilerServices.SwitchExpressionException
Public Sub New (message As String)

매개 변수

message
String

최종 사용자에게 표시할 메시지입니다.

적용 대상

SwitchExpressionException(String, Exception)

Source:
SwitchExpressionException.cs
Source:
SwitchExpressionException.cs
Source:
SwitchExpressionException.cs

지정된 예외 및 자세한 설명을 사용하여 SwitchExpressionException 클래스의 새 인스턴스를 초기화합니다.

public:
 SwitchExpressionException(System::String ^ message, Exception ^ innerException);
public SwitchExpressionException (string? message, Exception? innerException);
public SwitchExpressionException (string message, Exception innerException);
new System.Runtime.CompilerServices.SwitchExpressionException : string * Exception -> System.Runtime.CompilerServices.SwitchExpressionException
Public Sub New (message As String, innerException As Exception)

매개 변수

message
String

최종 사용자에게 표시할 메시지입니다.

innerException
Exception

이 예외의 원인인 내부 예외에 대한 참조입니다.

적용 대상