public class DmoException : Win32ComException
DirectX Media Object COM Exception
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
Int32Errorcode.
interfaceName
StringName of the interface which contains the COM-function which returned the specified result.
member
StringName 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
SerializationInfoThe SerializationInfo object that holds the serialized object data.
context
StreamingContextThe 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
Int32Errorcode.
interfaceName
StringName of the interface which contains the COM-function which returned the specified result.
member
StringName of the COM-function which returned the specified result.