Methods (3)
Namespace: CSCore.DMO

Syntax

public class DmoException : Win32ComException

Base Type

Summary

DirectX Media Object COM Exception

Used by

Methods

DmoException(Int32 result, String interfaceName, String member)

Initializes a new instance of the DmoException class.

public void DmoException(Int32 result, String interfaceName, String member)

Parameters

result

Int32

Errorcode.

interfaceName

String

Name of the interface which contains the COM-function which returned the specified result.

member

String

Name of the COM-function which returned the specified result.

DmoException(SerializationInfo info, StreamingContext context)

Initializes a new instance of the DmoException class from serialization data.

public void DmoException(SerializationInfo info, StreamingContext context)

Parameters

info

SerializationInfo

The SerializationInfo object that holds the serialized object data.

context

StreamingContext

The StreamingContext object that supplies the contextual information about the source or destination.

Try(Int32 result, String interfaceName, String member)

Throws an DmoException if the result is not S_OK.

public static void Try(Int32 result, String interfaceName, String member)

Parameters

result

Int32

Errorcode.

interfaceName

String

Name of the interface which contains the COM-function which returned the specified result.

member

String

Name of the COM-function which returned the specified result.

Class Diagram

save

reset

Drag to pan - Use Mousewheel + Ctrl to zoom