Class AudioPolicyException
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.dll
The exception that is thrown when noncompliance with the sound system policy happens.
public class AudioPolicyException : InvalidOperationException, ISerializable
- Inheritance
-
objectSystem.ExceptionSystem.SystemExceptionSystem.InvalidOperationExceptionAudioPolicyException
- Implements
-
System.Runtime.Serialization.ISerializable
Constructors
View SourceAudioPolicyException()
Initializes a new instance of the AudioPolicyException class.
Declaration
public AudioPolicyException()
AudioPolicyException(string, Exception)
Initializes a new instance of the AudioPolicyException class with a specified error message and inner exception.
Declaration
public AudioPolicyException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
string | message | The error message that explains the reason for the exception. |
System.Exception | innerException | The exception that is the cause of the current exception.. |
AudioPolicyException(string)
Initializes a new instance of the AudioPolicyException class with a specified error message.
Declaration
public AudioPolicyException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The error message that explains the reason for the exception. |
Implements
System.Runtime.Serialization.ISerializable