WebserviceTaskException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the WebserviceTaskException class, initializing the SerializationInfo and StreamingContext.
Espacio de nombres: Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Ensamblado: Microsoft.SqlServer.WebServiceTask (en Microsoft.SqlServer.WebServiceTask.dll)
Sintaxis
'Declaración
Public Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Uso
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
)
Parámetros
- info
Tipo: System.Runtime.Serialization. . :: . .SerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
- context
Tipo: System.Runtime.Serialization. . :: . .StreamingContext
The StreamingContext that contains contextual information about the source or destination.