다음을 통해 공유


SqlTraceException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the SQLTraceException class with the specified serialization information and the specified streaming context.

네임스페이스: Microsoft.SqlServer.Management.Trace
어셈블리: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

구문

‘선언
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected SqlTraceException (
    SerializationInfo info,
    StreamingContext context
)
protected:
SqlTraceException (
    SerializationInfo^ info, 
    StreamingContext context
)
protected SqlTraceException (
    SerializationInfo info, 
    StreamingContext context
)
protected function SqlTraceException (
    info : SerializationInfo, 
    context : StreamingContext
)

매개 변수

  • info
    A SerializationInfo object value that specifies the serialization information for the SQL Trace exception.
  • context
    A StreamingContext object value that specifies the streaming context for the SQL Trace exception.

주의

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

How to: Catch an Exception in Visual Basic .NET

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

SqlTraceException Class
SqlTraceException Members
Microsoft.SqlServer.Management.Trace Namespace

관련 자료

Handling SMO Exceptions