RemotingException 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
RemotingException 클래스의 새 인스턴스를 초기화합니다.
오버로드
| Name | Description |
|---|---|
| RemotingException() |
기본 속성을 사용하여 클래스의 새 인스턴스를 RemotingException 초기화합니다. |
| RemotingException(String) |
지정된 메시지를 사용하여 클래스의 RemotingException 새 인스턴스를 초기화합니다. |
| RemotingException(SerializationInfo, StreamingContext) |
serialize된 데이터에서 클래스의 새 인스턴스를 RemotingException 초기화합니다. |
| RemotingException(String, Exception) |
지정된 오류 메시지와 이 예외의 RemotingException 원인인 내부 예외에 대한 참조를 사용하여 클래스의 새 인스턴스를 초기화합니다. |
RemotingException()
기본 속성을 사용하여 클래스의 새 인스턴스를 RemotingException 초기화합니다.
public:
RemotingException();
public RemotingException();
Public Sub New ()
설명
RemotingException 는 클래스에서 SystemException 상속됩니다. 다음 표에서는 클래스 인스턴스에 대한 초기 속성 값을 보여 줍니다 RemotingException .
| 재산 | 가치 |
|---|---|
| InnerException | null |
| Message | 빈 문자열("") |
추가 정보
적용 대상
RemotingException(String)
지정된 메시지를 사용하여 클래스의 RemotingException 새 인스턴스를 초기화합니다.
public:
RemotingException(System::String ^ message);
public RemotingException(string message);
new System.Runtime.Remoting.RemotingException : string -> System.Runtime.Remoting.RemotingException
Public Sub New (message As String)
매개 변수
- message
- String
예외가 발생한 이유를 설명하는 오류 메시지입니다.
설명
RemotingException 는 클래스에서 SystemException 상속됩니다. 다음 표에서는 클래스 인스턴스에 대한 초기 속성 값을 보여 줍니다 RemotingException .
| 속성 형식 | 상태 |
|---|---|
| InnerException | null |
| Message |
message 문자열 |
추가 정보
적용 대상
RemotingException(SerializationInfo, StreamingContext)
serialize된 데이터에서 클래스의 새 인스턴스를 RemotingException 초기화합니다.
protected:
RemotingException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected RemotingException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Runtime.Remoting.RemotingException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Runtime.Remoting.RemotingException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
매개 변수
- info
- SerializationInfo
serialize된 개체 데이터를 보유하는 개체입니다.
- context
- StreamingContext
예외의 원본 또는 대상에 대한 컨텍스트 정보입니다.
예외
매개 변수는 info .입니다 null.
설명
이 생성자는 역직렬화 중에 호출되어 스트림을 통해 전송되는 예외 개체를 다시 구성합니다. serialization에 대한 자세한 내용은 XML 및 SOAP Serialization을 참조하세요.
적용 대상
RemotingException(String, Exception)
지정된 오류 메시지와 이 예외의 RemotingException 원인인 내부 예외에 대한 참조를 사용하여 클래스의 새 인스턴스를 초기화합니다.
public:
RemotingException(System::String ^ message, Exception ^ InnerException);
public RemotingException(string message, Exception InnerException);
new System.Runtime.Remoting.RemotingException : string * Exception -> System.Runtime.Remoting.RemotingException
Public Sub New (message As String, InnerException As Exception)
매개 변수
- message
- String
예외가 발생한 이유를 설명하는 오류 메시지입니다.
- InnerException
- Exception
현재 예외의 원인인 예외입니다. 매개 변수가 InnerException 아닌 null경우 내부 예외를 catch 처리하는 블록에서 현재 예외가 발생합니다.
설명
이전 예외의 직접적인 결과로 throw되는 예외에는 속성의 이전 예외에 대한 참조가 InnerException 포함됩니다. 속성 생성 InnerException 자에 전달 되는 동일한 값을 반환 하거나 null 속성 생성자에 내부 예외 값을 제공 하지 않는 경우 InnerException .
다음 표에서는 클래스 인스턴스에 대한 초기 속성 값을 보여 줍니다 RemotingException .
| 재산 | 가치 |
|---|---|
| InnerException | 내부 예외 참조입니다. |
| Message | 오류 메시지 문자열입니다. |