共用方式為


CollectorException 建構函式 (SerializationInfo, StreamingContext)

Instantiates an instance of the CollectorException class, passing info and context as parameters.

命名空間:  Microsoft.SqlServer.Management.Collector
組件:  Microsoft.SqlServer.Management.Collector (在 Microsoft.SqlServer.Management.Collector.dll 中)

語法

'宣告
Public Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
'用途
Dim info As SerializationInfo 
Dim context As StreamingContext 

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

參數

備註

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

請參閱

參考

CollectorException 類別

CollectorException 多載

Microsoft.SqlServer.Management.Collector 命名空間