ExplicitTransactionRequiredException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the ExplicitTransactionRequiredException class by using serialized data.
Namespace: Microsoft.Synchronization.MetadataStorage
Assembly: Microsoft.Synchronization.MetadataStorage (in microsoft.synchronization.metadatastorage.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Usage
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New ExplicitTransactionRequiredException(info, context)
protected ExplicitTransactionRequiredException (
SerializationInfo info,
StreamingContext context
)
protected:
ExplicitTransactionRequiredException (
SerializationInfo^ info,
StreamingContext context
)
protected ExplicitTransactionRequiredException (
SerializationInfo info,
StreamingContext context
)
protected function ExplicitTransactionRequiredException (
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
The SerializationInfo object that holds the serialized object data about the exception that is being thrown.
- context
The StreamingContext object that contains contextual information about the source or destination.
See Also
Reference
ExplicitTransactionRequiredException Class
ExplicitTransactionRequiredException Members
Microsoft.Synchronization.MetadataStorage Namespace