Class AudioPolicyException

    Definition

    Namespace:
    Tizen.Multimedia
    Assembly:
    Tizen.Multimedia.dll

    Represents an exception that is thrown when there is a violation of the sound system policy. This exception indicates that an operation has attempted to perform an action that is not compliant with the established audio policies, which may affect audio playback or manipulation within the application.

    public class AudioPolicyException : InvalidOperationException, ISerializable
    Inheritance
    object
    System.Exception
    System.SystemException
    System.InvalidOperationException
    AudioPolicyException
    Implements
    System.Runtime.Serialization.ISerializable

    Constructors

    View Source

    AudioPolicyException()

    Initializes a new instance of the AudioPolicyException class without any error message. This constructor is typically used when the exception is thrown without specific details about the error.

    Declaration
    public AudioPolicyException()
    View Source

    AudioPolicyException(string, Exception)

    Initializes a new instance of the AudioPolicyException class with a specified error message and a reference to the inner exception that is the cause of this 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..

    View Source

    AudioPolicyException(string)

    Initializes a new instance of the AudioPolicyException class with a specified error message. This message provides additional context regarding the reason for the exception, which can be useful for debugging and logging purposes.

    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
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX