Share via


SqlTraceException 클래스

The SQLTraceException class represents the general exception raised by the SMO trace objects.

네임스페이스:  Microsoft.SqlServer.Management.Trace
어셈블리:  Microsoft.SqlServer.ConnectionInfoExtended(Microsoft.SqlServer.ConnectionInfoExtended.dll)

구문

‘선언
<SerializableAttribute> _
Public Class SqlTraceException _
    Inherits SqlServerManagementException
‘사용 방법
Dim instance As SqlTraceException
[SerializableAttribute]
public class SqlTraceException : SqlServerManagementException
[SerializableAttribute]
public ref class SqlTraceException : public SqlServerManagementException
[<SerializableAttribute>]
type SqlTraceException =  
    class
        inherit SqlServerManagementException
    end
public class SqlTraceException extends SqlServerManagementException

SqlTraceException 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 SqlTraceException() () () () Initializes a new instance of the SQLTraceException class.
공용 메서드 SqlTraceException(String) Initializes a new instance of the SQLTraceException class with the specified message.
보호된 메서드 SqlTraceException(SerializationInfo, StreamingContext) Initializes a new instance of the SQLTraceException class with the specified serialization information and the specified streaming context.
공용 메서드 SqlTraceException(String, Exception) Initializes a new instance of the SQLTraceException class with the specified message and inner exception.
공용 메서드 SqlTraceException(Type, String) Initializes a new instance of the SQLTraceException class with the specified source type and the specified message.
공용 메서드 SqlTraceException(Type, String, Exception) Initializes a new instance of the SQLTraceException class with the specified source type, message and inner exception.

맨 위로 이동

속성

  이름 설명
공용 속성 Data (Exception에서 상속됨)
공용 속성 HelpLink (Exception에서 상속됨)
보호된 속성 HResult (Exception에서 상속됨)
공용 속성 InnerException (Exception에서 상속됨)
공용 속성 Message (Exception에서 상속됨)
보호된 속성정적 멤버 ProdVer Gets a String value that specifies the product version.
공용 속성 Source (Exception에서 상속됨)
공용 속성 StackTrace (Exception에서 상속됨)
공용 속성 TargetSite (Exception에서 상속됨)

맨 위로 이동

메서드

  이름 설명
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetBaseException (Exception에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetObjectData (Exception에서 상속됨)
공용 메서드 GetType (Exception에서 상속됨)
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 ToString (Exception에서 상속됨)

맨 위로 이동

주의

This class represents the main exception class in the SMO trace objects.

Thread Safety

이 유형의 모든 public static(Microsoft Visual Basic의 경우 공유) 멤버는 다중 스레드 작업을 수행하기에 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.