Class MmException
- Namespace
- NAudio
- Assembly
- NAudio.Core.dll
Summary description for MmException.
public class MmException : Exception, ISerializable
- Inheritance
-
MmException
- Implements
- Inherited Members
Constructors
MmException(MmResult, string)
Creates a new MmException
public MmException(MmResult result, string function)
Parameters
result
MmResultThe result returned by the Windows API call
function
stringThe name of the Windows API that failed
Properties
Function
The function being called
public string Function { get; }
Property Value
Result
Returns the Windows API result
public MmResult Result { get; }
Property Value
Methods
Try(MmResult, string)
Helper function to automatically raise an exception on failure
public static void Try(MmResult result, string function)