TransientException Constructor (SerializationInfo, StreamingContext)
The TransientException constructor creates a serializable TransientException object.
Namespace: Microsoft.Exchange.Data.Common
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Protected Sub New ( _
serializationInfo As SerializationInfo, _
context As StreamingContext _
)
'Usage
Dim serializationInfo As SerializationInfo
Dim context As StreamingContext
Dim instance As New TransientException(serializationInfo, _
context)
protected TransientException(
SerializationInfo serializationInfo,
StreamingContext context
)
Parameters
- serializationInfo
Type: System.Runtime.Serialization.SerializationInfo
The SerializationInfo object that holds the serialized object data about the exception being thrown.
- context
Type: System.Runtime.Serialization.StreamingContext
The StreamingContext object that contains contextual information about the source or destination.