SqlTraceException 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
SqlTraceException 클래스의 새 인스턴스를 초기화합니다.
오버로드
| Name | Description |
|---|---|
| SqlTraceException() |
SqlTraceException 클래스의 새 인스턴스를 초기화합니다. |
| SqlTraceException(String) |
지정된 메시지를 사용하여 클래스의 SqlTraceException 새 인스턴스를 초기화합니다. |
| SqlTraceException(SerializationInfo, StreamingContext) |
지정된 직렬화 정보와 지정된 스트리밍 컨텍스트로 클래스의 SqlTraceException 새 인스턴스를 초기화합니다. |
| SqlTraceException(String, Exception) |
지정된 메시지 및 내부 예외를 SqlTraceException 사용하여 클래스의 새 인스턴스를 초기화합니다. |
| SqlTraceException(Type, String) |
지정된 소스 타입과 지정된 메시지로 클래스의 SqlTraceException 새 인스턴스를 초기화합니다. |
| SqlTraceException(Type, String, Exception) |
지정된 소스 타입, 메시지 및 내부 예외를 가진 클래스의 SqlTraceException 새 인스턴스를 초기화합니다. |
SqlTraceException()
SqlTraceException 클래스의 새 인스턴스를 초기화합니다.
public:
SqlTraceException();
public SqlTraceException();
Public Sub New ()
예제
적용 대상
SqlTraceException(String)
지정된 메시지를 사용하여 클래스의 SqlTraceException 새 인스턴스를 초기화합니다.
public:
SqlTraceException(System::String ^ message);
public SqlTraceException(string message);
new Microsoft.SqlServer.Management.Trace.SqlTraceException : string -> Microsoft.SqlServer.Management.Trace.SqlTraceException
Public Sub New (message As String)
매개 변수
예제
적용 대상
SqlTraceException(SerializationInfo, StreamingContext)
지정된 직렬화 정보와 지정된 스트리밍 컨텍스트로 클래스의 SqlTraceException 새 인스턴스를 초기화합니다.
protected:
SqlTraceException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SqlTraceException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.SqlServer.Management.Trace.SqlTraceException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.SqlServer.Management.Trace.SqlTraceException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
매개 변수
- info
- SerializationInfo
SerializationInfo SQL Trace 예외의 직렬화 정보를 지정하는 객체 값입니다.
- context
- StreamingContext
StreamingContext SQL Trace 예외의 스트리밍 컨텍스트를 지정하는 객체 값입니다.
예제
적용 대상
SqlTraceException(String, Exception)
지정된 메시지 및 내부 예외를 SqlTraceException 사용하여 클래스의 새 인스턴스를 초기화합니다.
public:
SqlTraceException(System::String ^ message, Exception ^ innerException);
public SqlTraceException(string message, Exception innerException);
new Microsoft.SqlServer.Management.Trace.SqlTraceException : string * Exception -> Microsoft.SqlServer.Management.Trace.SqlTraceException
Public Sub New (message As String, innerException As Exception)
매개 변수
예제
적용 대상
SqlTraceException(Type, String)
지정된 소스 타입과 지정된 메시지로 클래스의 SqlTraceException 새 인스턴스를 초기화합니다.
public:
SqlTraceException(Type ^ messageSource, System::String ^ messageID);
public SqlTraceException(Type messageSource, string messageID);
new Microsoft.SqlServer.Management.Trace.SqlTraceException : Type * string -> Microsoft.SqlServer.Management.Trace.SqlTraceException
Public Sub New (messageSource As Type, messageID As String)
매개 변수
예제
적용 대상
SqlTraceException(Type, String, Exception)
지정된 소스 타입, 메시지 및 내부 예외를 가진 클래스의 SqlTraceException 새 인스턴스를 초기화합니다.
public:
SqlTraceException(Type ^ messageSource, System::String ^ messageID, Exception ^ innerException);
public SqlTraceException(Type messageSource, string messageID, Exception innerException);
new Microsoft.SqlServer.Management.Trace.SqlTraceException : Type * string * Exception -> Microsoft.SqlServer.Management.Trace.SqlTraceException
Public Sub New (messageSource As Type, messageID As String, innerException As Exception)