Table of Contents

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

hresult int

CoreAudioException(string, int)

Creates a new CoreAudioException with a message

public CoreAudioException(string message, int hresult)

Parameters

message string
hresult int

Methods

ThrowIfFailed(int)

Throws a CoreAudioException if the HRESULT indicates failure.

public static void ThrowIfFailed(int hresult)

Parameters

hresult int