Class CoreAudioException
- Namespace
- NAudio.CoreAudioApi
- Assembly
- NAudio.Wasapi.dll
Exception thrown by Core Audio API operations. Inherits from COMException for backwards compatibility with code that catches COMException.
public class CoreAudioException : COMException, ISerializable
- Inheritance
-
CoreAudioException
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
CoreAudioException(int)
Creates a new CoreAudioException
public CoreAudioException(int hresult)
Parameters
hresultint
CoreAudioException(string, int)
Creates a new CoreAudioException with a message
public CoreAudioException(string message, int hresult)
Parameters
Methods
ThrowIfFailed(int)
Throws a CoreAudioException if the HRESULT indicates failure.
public static void ThrowIfFailed(int hresult)
Parameters
hresultint