Search Results for

    Show / Hide Table of Contents

    Class UnsupportedDeviceException

    Thrown when an invalid Guid is passed to the constructor of Colore.Implementations.GenericDeviceImplementation.

    Inheritance
    Object
    ColoreException
    UnsupportedDeviceException
    Namespace: Colore
    Assembly: Colore.dll
    Syntax
    public sealed class UnsupportedDeviceException : ColoreException

    Constructors

    UnsupportedDeviceException(Guid, Exception)

    Initializes a new instance of the UnsupportedDeviceException class.

    Declaration
    public UnsupportedDeviceException(Guid deviceId, Exception innerException = null)
    Parameters
    Type Name Description
    Guid deviceId

    The Guid of the device.

    Exception innerException

    Inner exception object.

    Properties

    DeviceId

    Gets the Guid of the device.

    Declaration
    public Guid DeviceId { get; }
    Property Value
    Type Description
    Guid

    Methods

    GetObjectData(SerializationInfo, StreamingContext)

    When overridden in a derived class, sets the SerializationInfo with information about the exception.

    Declaration
    public override void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info

    The SerializationInfo that holds the serialized object data about the exception being thrown.

    StreamingContext context

    The StreamingContext that contains contextual information about the source or destination.

    Exceptions
    Type Condition
    ArgumentNullException

    The info parameter is a null reference (Nothing in Visual Basic).

    In This Article
    Back to top Copyright © 2015-2022 by Adam Hellberg and Brandon Scott
    Generated by DocFX