Поделиться через


Конструктор 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
)

Параметры