Table of Contents

Class AudioToolboxException

Namespace
NAudio.MacOS.AudioToolbox
Assembly
NAudio.MacOS.dll

Provides the base exception class for all the exceptions related to the Audio Toolbox framework.
An instance of this class will NEVER be thrown explicitly by this library, and it is only provided for identifying from which subsystem the exception has came from.

public class AudioToolboxException : MacException, ISerializable
Inheritance
AudioToolboxException
Implements
Derived
Inherited Members

Constructors

AudioToolboxException(int)

Constructs a new instance of the AudioToolboxException class with the specified OSStatus error code.

public AudioToolboxException(int osStatus)

Parameters

osStatus int

The status code.

AudioToolboxException(string, int)

Constructs a new instance of the AudioToolboxException class with the specified OSStatus error code, as well as the custom error message to provide.

public AudioToolboxException(string message, int osStatus)

Parameters

message string

The custom error message to provide. Can be null.

osStatus int

The OSStatus error code to provide.