AudioToneException Constructor

Use this constructor to instantiate the AudioToneException class:

public AudioToneException( int ErrorCode, string Message )

Parameters

ErrorCode
A 32-bit value representing the fault incurred from the execution of a Tone method.

Message
Context-appropriate error string that describes the ErrorCode.

Notes

ErrorCode is assigned to the exception's Result property.

More Information

AudioToneException Class