Thrown when an input stream lacks required capabilities (Read/Seek) or uses an unsupported stream type.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Exceptions
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public class NotSupportedStreamTypeException : NotSupportedFeatureException, ISerializable
Inheritance: objectExceptionNotSupportedFeatureExceptionNotSupportedStreamTypeException
Implements:
Inherited Members
Constructors
Initializes a new instance of the NotSupportedStreamTypeException class.
public NotSupportedStreamTypeException()
Initializes a new instance of the NotSupportedStreamTypeException class.
public NotSupportedStreamTypeException(bool supportsRead, bool supportsSeek, string message)
A value indicating whether the stream supports read operations.
supportsSeekboolA value indicating whether the stream supports seek operations.
messagestringThe error message that explains the reason for the exception.
Initializes a new instance of the NotSupportedStreamTypeException class.
Initializes a new instance of the NotSupportedStreamTypeException class.
protected NotSupportedStreamTypeException(SerializationInfo info, StreamingContext context)
The SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe StreamingContext that contains contextual information about the source or destination.
Initializes a new instance of the NotSupportedStreamTypeException class.
Initializes a new instance of the NotSupportedStreamTypeException class.
public NotSupportedStreamTypeException(string message)
The error message that explains the reason for the exception.
Methods
Provides COM objects with version-independent access to the GetObjectData(SerializationInfo, StreamingContext) method
[SecurityCritical]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
The SerializationInfo object that holds the serialized object data about the exception being thrown.
contextStreamingContextThe StreamingContext structure that contains contextual information about the source or destination.
Overrides:
Properties
Gets a value indicating whether the stream supports read operations.
public bool SupportsRead { get; }
true if the stream supports read operations; otherwise, false.
Gets a value indicating whether the stream supports seek operations.
public bool SupportsSeek { get; }
true if the stream supports seek operations; otherwise, false.