Class NotSupportedStreamTypeException
Represents an exception thrown when attempting to use a stream that lacks required capabilities or is of a type that is not supported by the library.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Exceptions
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class NotSupportedStreamTypeException : NotSupportedFeatureException, ISerializable, _Exception
Constructors
NotSupportedStreamTypeException()
Initializes a new instance of the NotSupportedStreamTypeException class.
Declaration
public NotSupportedStreamTypeException()
NotSupportedStreamTypeException(Boolean, Boolean)
Initializes a new instance of the NotSupportedStreamTypeException class.
Declaration
public NotSupportedStreamTypeException(bool supportsRead, bool supportsSeek)
Parameters
System.Boolean
supportsRead
A value indicating whether the stream supports read operations. |
System.Boolean
supportsSeek
A value indicating whether the stream supports seek operations. |
NotSupportedStreamTypeException(Boolean, Boolean, String)
Initializes a new instance of the NotSupportedStreamTypeException class.
Declaration
public NotSupportedStreamTypeException(bool supportsRead, bool supportsSeek, string message)
Parameters
System.Boolean
supportsRead
A value indicating whether the stream supports read operations. |
System.Boolean
supportsSeek
A value indicating whether the stream supports seek operations. |
System.String
message
The error message that explains the reason for the exception. |
NotSupportedStreamTypeException(SerializationInfo, StreamingContext)
Initializes a new instance of the NotSupportedStreamTypeException class.
Declaration
protected NotSupportedStreamTypeException(SerializationInfo info, StreamingContext context)
Parameters
System.Runtime.Serialization.SerializationInfo
info
The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext
context
The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
NotSupportedStreamTypeException(String)
Initializes a new instance of the NotSupportedStreamTypeException class.
Declaration
public NotSupportedStreamTypeException(string message)
Parameters
System.String
message
The error message that explains the reason for the exception. |
NotSupportedStreamTypeException(String, Exception)
Initializes a new instance of the NotSupportedStreamTypeException class.
Declaration
public NotSupportedStreamTypeException(string message, Exception cause)
Parameters
System.String
message
The error message that explains the reason for the exception. |
System.Exception
cause
The exception that is the cause of the current exception. |
Properties
SupportsRead
Gets a value indicating whether the stream supports read operations.
Declaration
public bool SupportsRead { get; }
Property Value
System.Boolean
|
SupportsSeek
Gets a value indicating whether the stream supports seek operations.
Declaration
public bool SupportsSeek { get; }
Property Value
System.Boolean
|
Methods
GetObjectData(SerializationInfo, StreamingContext)
Provides COM objects with version-independent access to the System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) method
Declaration
[SecurityCritical]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
System.Runtime.Serialization.SerializationInfo
info
The System.Runtime.Serialization.SerializationInfo object that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext
context
The System.Runtime.Serialization.StreamingContext structure that contains contextual information about the source or destination. |