WebserviceTaskException 建構函式 (SerializationInfo, StreamingContext)
Initializes a new instance of the WebserviceTaskException class, initializing the SerializationInfo and StreamingContext.
命名空間: Microsoft.SqlServer.Dts.Tasks.WebServiceTask
組件: Microsoft.SqlServer.WebServiceTask (在 Microsoft.SqlServer.WebServiceTask.dll 中)
語法
'宣告
Public Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'用途
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
)
參數
- info
型別:System.Runtime.Serialization. . :: . .SerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
- context
型別:System.Runtime.Serialization. . :: . .StreamingContext
The StreamingContext that contains contextual information about the source or destination.