ClassNotSupportedStreamTypeException
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
NotSupportedStreamTypeException()
Initializes a new instance of the NotSupportedStreamTypeException class.
Declaration
public NotSupportedStreamTypeException()
NotSupportedStreamTypeException(SerializationInfo, StreamingContext)
Initializes a new instance of the NotSupportedStreamTypeException class.
Declaration
protected NotSupportedStreamTypeException(SerializationInfo info, StreamingContext context)
Parameters
info
The SerializationInfo that holds the serialized object data about the exception being thrown.
context
The StreamingContext that contains contextual information about the source or destination.
NotSupportedStreamTypeException(bool, bool)
Initializes a new instance of the NotSupportedStreamTypeException class.
NotSupportedStreamTypeException(bool, bool, string)
Initializes a new instance of the NotSupportedStreamTypeException class.
Declaration
public NotSupportedStreamTypeException(bool supportsRead, bool supportsSeek, string message)
Parameters
supportsRead
A value indicating whether the stream supports read operations.
supportsSeek
A value indicating whether the stream supports seek operations.
message
The error message that explains the reason for the exception.
NotSupportedStreamTypeException(string)
Initializes a new instance of the NotSupportedStreamTypeException class.
Declaration
public NotSupportedStreamTypeException(string message)
Parameters
message
The error message that explains the reason for the exception.
NotSupportedStreamTypeException(string, Exception)
Initializes a new instance of the NotSupportedStreamTypeException class.
Properties
SupportsRead
Gets a value indicating whether the stream supports read operations.
Declaration
public bool SupportsRead { get; }
Property Value
true if the stream supports read operations; otherwise, false.
SupportsSeek
Gets a value indicating whether the stream supports seek operations.
Declaration
public bool SupportsSeek { get; }
Property Value
true if the stream supports seek operations; otherwise, false.
Methods
GetObjectData(SerializationInfo, StreamingContext)
Provides COM objects with version-independent access to the GetObjectData(SerializationInfo, StreamingContext) method
Declaration
[SecurityCritical]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
info
The SerializationInfo object that holds the serialized object data about the exception being thrown.
context
The StreamingContext structure that contains contextual information about the source or destination.
Overrides