ComErrorException 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
ComErrorException 클래스의 새 인스턴스를 초기화합니다.
오버로드
ComErrorException() |
ComErrorException 클래스의 새 인스턴스를 초기화합니다. |
ComErrorException(String) |
지정된 오류 메시지를 사용하여 ComErrorException 클래스의 새 인스턴스를 초기화합니다. |
ComErrorException(String, Exception) |
지정된 오류 메시지와 해당 예외의 원인인 내부 예외에 대한 참조를 사용하여 ComErrorException 클래스의 새 인스턴스를 초기화합니다. |
ComErrorException(Int32, String, Int32, String, String, Guid, String) |
ComErrorException 클래스의 새 인스턴스를 초기화합니다. |
ComErrorException()
ComErrorException 클래스의 새 인스턴스를 초기화합니다.
public:
ComErrorException();
public ComErrorException ();
Public Sub New ()
설명
이 생성자는 새 인스턴스의 Message 속성을 오류를 설명하는 시스템 제공 메시지로 초기화합니다.
다음 표에는 ComErrorException의 인스턴스의 초기 속성 값이 나와 있습니다.
속성 | 값 |
---|---|
InnerException | null 참조입니다. |
Message | 시스템이 제공하는 지역화된 설명입니다. |
적용 대상
ComErrorException(String)
지정된 오류 메시지를 사용하여 ComErrorException 클래스의 새 인스턴스를 초기화합니다.
public:
ComErrorException(System::String ^ message);
public ComErrorException (string message);
new Microsoft.SqlServer.Replication.ComErrorException : string -> Microsoft.SqlServer.Replication.ComErrorException
Public Sub New (message As String)
매개 변수
- message
- String
오류를 설명하는 메시지입니다.
설명
다음 표에는 ComErrorException의 인스턴스의 초기 속성 값이 나와 있습니다.
속성 | 값 |
---|---|
InnerException | null 참조(Visual Basic의 경우 Nothing) |
Message | 오류 메시지 문자열입니다. |
적용 대상
ComErrorException(String, Exception)
지정된 오류 메시지와 해당 예외의 원인인 내부 예외에 대한 참조를 사용하여 ComErrorException 클래스의 새 인스턴스를 초기화합니다.
public:
ComErrorException(System::String ^ message, Exception ^ innerException);
public ComErrorException (string message, Exception innerException);
new Microsoft.SqlServer.Replication.ComErrorException : string * Exception -> Microsoft.SqlServer.Replication.ComErrorException
Public Sub New (message As String, innerException As Exception)
매개 변수
- message
- String
예외에 대한 이유를 설명하는 오류 메시지입니다.
- innerException
- Exception
현재 예외의 원인인 예외입니다.
설명
다음 표에는 ConnectionFailureException의 인스턴스의 초기 속성 값이 나와 있습니다.
속성 | 값 |
---|---|
InnerException | 내부 예외 참조 |
Message | 오류 메시지 문자열입니다. |
적용 대상
ComErrorException(Int32, String, Int32, String, String, Guid, String)
ComErrorException 클래스의 새 인스턴스를 초기화합니다.
public:
ComErrorException(int comHResult, System::String ^ description, int helpContext, System::String ^ helpFile, System::String ^ source, Guid interfaceId, System::String ^ errorMessage);
public ComErrorException (int comHResult, string description, int helpContext, string helpFile, string source, Guid interfaceId, string errorMessage);
new Microsoft.SqlServer.Replication.ComErrorException : int * string * int * string * string * Guid * string -> Microsoft.SqlServer.Replication.ComErrorException
Public Sub New (comHResult As Integer, description As String, helpContext As Integer, helpFile As String, source As String, interfaceId As Guid, errorMessage As String)
매개 변수
- comHResult
- Int32
이 예외와 연결된 오류 코드(HRESULT) 값입니다.
- description
- String
오류 설명입니다.
- helpContext
- Int32
도움말 파일에 있는 항목의 컨텍스트입니다.
- helpFile
- String
도움말 파일의 정규화된 경로입니다.
- source
- String
오류 출처의 이름입니다.
- interfaceId
- Guid
오류의 출처인 COM 인터페이스의 식별자입니다.
- errorMessage
- String
오류 메시지 문자열입니다.