Share via


CollectorException Constructor (SerializationInfo, StreamingContext)

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

Namespace:  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

Syntax

'Declaration
Public Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
'Usage
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
)

Parameters

Remarks

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

See Also

Reference

CollectorException Class

CollectorException Overload

Microsoft.SqlServer.Management.Collector Namespace