ByteEncoderException Constructor (SerializationInfo, StreamingContext)
The ByteEncoderException constructor creates a new ByteEncoderException that can be serialized by using information and context.
Namespace: Microsoft.Exchange.Data.Mime.Encoders
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.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 ByteEncoderException(info, context)
protected ByteEncoderException(
SerializationInfo info,
StreamingContext context
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
Contains all the data that is needed to serialize or deserialize this ByteEncoderException object.
- context
Type: System.Runtime.Serialization.StreamingContext
Describes the source and destination of the serialized stream, and provides an additional caller-defined context.