WebserviceTaskException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the WebserviceTaskException class, initializing the SerializationInfo and StreamingContext.
Namespace: Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Assembly: Microsoft.SqlServer.WebServiceTask (in Microsoft.SqlServer.WebServiceTask.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 WebserviceTaskException(info, context)
public WebserviceTaskException(
SerializationInfo info,
StreamingContext context
)
public:
WebserviceTaskException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> WebserviceTaskException
public function WebserviceTaskException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
- context
Type: System.Runtime.Serialization.StreamingContext
The StreamingContext that contains contextual information about the source or destination.