NotConnectedException constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the NotConnectedException class with serialized data.
Namespace: Microsoft.SharePoint.WorkflowServices
Assembly: Microsoft.SharePoint.WorkflowServicesBase (in Microsoft.SharePoint.WorkflowServicesBase.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 NotConnectedException(info, context)
public NotConnectedException(
SerializationInfo info,
StreamingContext context
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoThe SerializationInfo instance that holds the serialized object data about the exception being thrown.
context
Type: System.Runtime.Serialization.StreamingContextThe StreamingContext instance that contains contextual information about the source or destination.