Class
NotSupportedStreamTypeException

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:

cs-api-definition
public class NotSupportedStreamTypeException : NotSupportedFeatureException, ISerializable

Inheritance: objectExceptionNotSupportedFeatureExceptionNotSupportedStreamTypeException

Implements: ISerializable

Inherited Members Exception.GetBaseException()Exception.ToString()Exception.GetType()Exception.TargetSiteException.MessageException.DataException.InnerExceptionException.HelpLinkException.SourceException.HResultException.StackTraceException.SerializeObjectState

Constructors

NotSupportedStreamTypeException()

Initializes a new instance of the NotSupportedStreamTypeException class.

Declaration

cs-api-definition
public NotSupportedStreamTypeException()

NotSupportedStreamTypeException(SerializationInfo, StreamingContext)

Initializes a new instance of the NotSupportedStreamTypeException class.

Declaration

cs-api-definition
protected NotSupportedStreamTypeException(SerializationInfo info, StreamingContext context)

Parameters

info

SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context

StreamingContext

The StreamingContext that contains contextual information about the source or destination.

NotSupportedStreamTypeException(bool, bool)

Initializes a new instance of the NotSupportedStreamTypeException class.

Declaration

cs-api-definition
public NotSupportedStreamTypeException(bool supportsRead, bool supportsSeek)

Parameters

supportsRead

bool

A value indicating whether the stream supports read operations.

supportsSeek

bool

A value indicating whether the stream supports seek operations.

NotSupportedStreamTypeException(bool, bool, string)

Initializes a new instance of the NotSupportedStreamTypeException class.

Declaration

cs-api-definition
public NotSupportedStreamTypeException(bool supportsRead, bool supportsSeek, string message)

Parameters

supportsRead

bool

A value indicating whether the stream supports read operations.

supportsSeek

bool

A value indicating whether the stream supports seek operations.

message

string

The error message that explains the reason for the exception.

NotSupportedStreamTypeException(string)

Initializes a new instance of the NotSupportedStreamTypeException class.

Declaration

cs-api-definition
public NotSupportedStreamTypeException(string message)

Parameters

message

string

The error message that explains the reason for the exception.

NotSupportedStreamTypeException(string, Exception)

Initializes a new instance of the NotSupportedStreamTypeException class.

Declaration

cs-api-definition
public NotSupportedStreamTypeException(string message, Exception cause)

Parameters

message

string

The error message that explains the reason for the exception.

cause

Exception

The exception that is the cause of the current exception.

Properties

SupportsRead

Gets a value indicating whether the stream supports read operations.

Declaration

cs-api-definition
public bool SupportsRead { get; }

Property Value

bool

true if the stream supports read operations; otherwise, false.

SupportsSeek

Gets a value indicating whether the stream supports seek operations.

Declaration

cs-api-definition
public bool SupportsSeek { get; }

Property Value

bool

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

cs-api-definition
[SecurityCritical]
public override void GetObjectData(SerializationInfo info, StreamingContext context)

Parameters

info

SerializationInfo

The SerializationInfo object that holds the serialized object data about the exception being thrown.

context

StreamingContext

The StreamingContext structure that contains contextual information about the source or destination.

Overrides Exception.GetObjectData(SerializationInfo, StreamingContext)