XEventException 构造函数 (SerializationInfo, StreamingContext)

Initializes a new instance of the XEventException class with serialized data.

命名空间:  Microsoft.SqlServer.Management.XEvent
程序集:  Microsoft.SqlServer.Management.XEvent(在 Microsoft.SqlServer.Management.XEvent.dll 中)

语法

声明
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
用法
Dim info As SerializationInfo 
Dim context As StreamingContext 

Dim instance As New XEventException(info, context)
protected XEventException(
    SerializationInfo info,
    StreamingContext context
)
protected:
XEventException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> XEventException
protected function XEventException(
    info : SerializationInfo, 
    context : StreamingContext
)

参数

注释

This constructor is called during deserialization to reconstitute the exception object transmitted over a stream. For more information, see XML and SOAP Serialization.

请参阅

参考

XEventException 类

XEventException 重载

Microsoft.SqlServer.Management.XEvent 命名空间

其他资源

XML and SOAP Serialization