SqlTraceException 생성자 (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.ConnectionInfoExtended(Microsoft.SqlServer.ConnectionInfoExtended.dll)
구문
‘선언
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
‘사용 방법
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New SqlTraceException(info, context)
protected SqlTraceException(
SerializationInfo info,
StreamingContext context
)
protected:
SqlTraceException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> SqlTraceException
protected function SqlTraceException(
info : SerializationInfo,
context : StreamingContext
)
매개 변수
- info
유형: System.Runtime.Serialization.SerializationInfo
A SerializationInfo object value that specifies the serialization information for the SQL Trace exception.
- context
유형: System.Runtime.Serialization.StreamingContext
A StreamingContext object value that specifies the streaming context for the SQL Trace exception.
예
참고 항목
참조
Microsoft.SqlServer.Management.Trace 네임스페이스