Search Results for

    Show / Hide Table of Contents

    Class NativeCallException

    Thrown when a native function returns an erroneous result value.

    Inheritance
    Object
    ColoreException
    ApiException
    NativeCallException
    Inherited Members
    ApiException.Result
    Namespace: Colore.Native
    Assembly: Colore.dll
    Syntax
    public sealed class NativeCallException : ApiException

    Constructors

    NativeCallException(String, Result)

    Initializes a new instance of the NativeCallException class.

    Declaration
    public NativeCallException(string function, Result result)
    Parameters
    Type Name Description
    String function

    The name of the function that was called.

    Result result

    The result returned from the called function.

    Properties

    Function

    Gets the name of the native function that was called.

    Declaration
    public string Function { get; }
    Property Value
    Type Description
    String

    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.

    Overrides
    ApiException.GetObjectData(SerializationInfo, StreamingContext)
    Exceptions
    Type Condition
    ArgumentNullException

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

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