eBUS SDK .NET API
  • Getting Started
    • Getting started with the eBUS SDK .NET API
    • Configuring Your IDE
    • Receiving Data from a GigE Vision or USB3 Vision Transmitter
    • Sample Applications
    • GigE Vision Device Communication Parameters
    • USB3 Vision Device Communication Parameters
    • PvStream USB3 Vision Parameters
    • PvStream GigE Vision Parameters
  • eBUS SDK .NET API Reference
    • API Overview
    • eBUSDotNet
    • eBUSDotNetReceive
    • eBUSDotNetEdge
Search Results for

    Show / Hide Table of Contents
      • GenDCComponentFlagsGroup
      • GenDCComponentHeader
      • GenDCComponentHeaderBase
      • GenDCComponentType
      • GenDCContainerFlagsGroup
      • GenDCContainerHeader
      • GenDCContainerHeaderBase
      • GenDCContainerVariableFieldsGroup
      • GenDCFlowTable
      • GenDCFlowTableHeader
      • GenDCGenericPartType
      • GenDCHeaderType
      • GenDCInfoTypeSpecificH264
      • GenDCInfoTypeSpecificH264.H264Flags
      • GenDCInfoTypeSpecificJPEG
      • GenDCPartFlagsGroup
      • GenDCPartHeader
      • GenDCPartHeader1D
      • GenDCPartHeader1DBase
      • GenDCPartHeader2D
      • GenDCPartHeader2DBase
      • GenDCPartHeaderBase
      • GenDCPartHeaderGenICamChunk
      • GenDCPartHeaderGenICamXML
      • GenDCPartHeaderH264
      • GenDCPartHeaderJPEG
      • GenDCPartHeaderJPEG2000
      • GenDCPartType
      • GenDCPredefinedComponentValue
      • GenDCPredefinedPartValue
      • GenDCPredefinedValue16
      • GenDCPredefinedValue32
      • GenDCPredefinedValue64
      • GenDCReservedValue
      • GenDCSignature
      • GenDCVersionValue
      • IPvChunkData
      • IPvFilter
      • IPvGenDCChunkData
      • IPvGenDCChunkWriter
      • IPvGenDCImage
      • IPvGenDCManager
      • IPvGenericDataComponent
      • IPvGenericDataContainer
      • IPvGenericDataPart
      • IPvH264AccessUnit
      • IPvImage
      • IPvImageJPEG
      • IPvMultiPartContainer
      • IPvMultiPartContainerReader
      • IPvMultiPartContainerWriter
      • IPvMultiPartSection
      • OnDeviceFoundHandler
      • OnParameterUpdateHandler
      • PvBuffer
      • PvChunkData
      • PvComponentType
      • PvCompressionFilter
      • PvDeInterlacer
      • PvDecompressionFilter
      • PvDeviceClass
      • PvDeviceInfo
      • PvDeviceInfoGEV
      • PvDeviceInfoPleoraProtocol
      • PvDeviceInfoType
      • PvDeviceInfoU3V
      • PvDeviceInfoUSB
      • PvDeviceType
      • PvEncodingEnum
      • PvException
      • PvFPSStabilizer
      • PvGenAccessMode
      • PvGenBoolean
      • PvGenCache
      • PvGenCategory
      • PvGenCommand
      • PvGenDCPart1DFields
      • PvGenDCPart2DFields
      • PvGenDCPartH264Fields
      • PvGenDCPartH264Fields.H264Flags
      • PvGenDCPartMetadataFields
      • PvGenDCPartType
      • PvGenDCVariableField
      • PvGenEndianness
      • PvGenEnum
      • PvGenEnumEntry
      • PvGenEventSink
      • PvGenEventSinkSwigInterface
      • PvGenFile
      • PvGenFloat
      • PvGenInteger
      • PvGenNameSpace
      • PvGenOpenMode
      • PvGenParameter
      • PvGenParameterArray
      • PvGenParameterList
      • PvGenRefresh
      • PvGenRegister
      • PvGenRepresentation
      • PvGenSign
      • PvGenStateStack
      • PvGenString
      • PvGenType
      • PvGenVisibility
      • PvImage
      • PvInterface
      • PvInterfaceType
      • PvMultiPartDataType
      • PvNetworkAdapter
      • PvPayloadType
      • PvPixelType
      • PvPleoraCompressed
      • PvRawData
      • PvResult
      • PvResult.Code
      • PvResult.Code.CodeEnum
      • PvSessionInfo
      • PvString
      • PvStringList
      • PvSystem
      • PvSystemEventSink
      • PvTapFilter
      • PvTapGeometryEnum
      • PvTftpClient
      • PvUSBHostController
      • PvUSBSpeed
      • PvUSBStatus
      • SWIGTYPE_p_PV_GENAPI_NS__INode
      • SWIGTYPE_p_PV_GENAPI_NS__INodeMap
      • SWIGTYPE_p_long_long
      • SWIGTYPE_p_unsigned_char
      • SWIGTYPE_p_unsigned_long_long
      • eBUSDotNet
      • uint24_t

    Class PvResult

    Result information.

    Inheritance
    object
    PvResult
    Implements
    IDisposable
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: eBUSDotNet
    Assembly: eBUSDotNet.dll
    Syntax
    public class PvResult : IDisposable

    Constructors

    View Source

    PvResult()

    Constructor.

    Declaration
    public PvResult()
    View Source

    PvResult(PvResult)

    Copy constructor.

    Declaration
    public PvResult(PvResult aResult)
    Parameters
    Type Name Description
    PvResult aResult

    PvResult used to call the copy constructor.

    View Source

    PvResult(uint)

    Constructor intializing the object to a specific status code.

    Declaration
    public PvResult(uint aCode)
    Parameters
    Type Name Description
    uint aCode

    Code to assign to the #PvResult object on construction.

    View Source

    PvResult(uint, string)

    Constructor initializing the object to a specific status code and description.

    Declaration
    public PvResult(uint aCode, string aDescription)
    Parameters
    Type Name Description
    uint aCode

    Code to assign to the #PvResult object on construction.

    string aDescription

    Description to assign to the #PvResult object on construction.

    View Source

    PvResult(uint, uint)

    Constructor intializing the object to a specific status code and OS code.

    Declaration
    public PvResult(uint aCode, uint aOSCode)
    Parameters
    Type Name Description
    uint aCode

    Code to assign to the #PvResult object on construction.

    uint aOSCode

    OS code to assign to the #PvResult object on construction.

    View Source

    PvResult(uint, uint, string)

    Constructor initializing the object to a specific status code, OS code and description.

    Declaration
    public PvResult(uint aCode, uint aOSCode, string aDescription)
    Parameters
    Type Name Description
    uint aCode

    Code to assign to the #PvResult object on construction.

    uint aOSCode

    OS code to assign to the #PvResult object on construction.

    string aDescription

    Description to assign to the #PvResult object on construction.

    Fields

    View Source

    swigCMemOwn

    Determines who is responsible for deleting the underlying C++ object.

    Declaration
    protected bool swigCMemOwn
    Field Value
    Type Description
    bool

    Properties

    View Source

    CodeString

    Gets the result code as a string.

    Declaration
    public string CodeString { get; }
    Property Value
    Type Description
    string
    View Source

    Description

    Gets or sets the result description.

    Declaration
    public string Description { get; set; }
    Property Value
    Type Description
    string
    View Source

    HasDescription

    Gets whether the result has a description set.

    Declaration
    public bool HasDescription { get; }
    Property Value
    Type Description
    bool
    View Source

    InternalCode

    Gets the internal result code.

    Declaration
    public uint InternalCode { get; }
    Property Value
    Type Description
    uint
    View Source

    IsFailure

    Gets whether the result indicates a failure.

    Declaration
    public bool IsFailure { get; }
    Property Value
    Type Description
    bool
    View Source

    IsOK

    Gets whether the result indicates immediate success (PV_OK).

    Declaration
    public bool IsOK { get; }
    Property Value
    Type Description
    bool
    View Source

    IsPending

    Gets whether the result indicates a pending operation.

    Declaration
    public bool IsPending { get; }
    Property Value
    Type Description
    bool
    View Source

    IsSuccess

    Gets whether the result indicates success (either OK or pending).

    Declaration
    public bool IsSuccess { get; }
    Property Value
    Type Description
    bool
    View Source

    OSCode

    Gets the operating system specific error code.

    Declaration
    public uint OSCode { get; }
    Property Value
    Type Description
    uint
    View Source

    PvCode

    Gets or sets the result code.

    Declaration
    public uint PvCode { get; set; }
    Property Value
    Type Description
    uint

    Methods

    View Source

    Assign(PvResult)

    Assigns the value from another PvResult.

    Declaration
    public PvResult Assign(PvResult aB)
    Parameters
    Type Name Description
    PvResult aB

    The PvResult to copy from.

    Returns
    Type Description
    PvResult

    Reference to this PvResult.

    View Source

    Dispose()

    Dispose.

    Declaration
    public void Dispose()
    View Source

    Dispose(bool)

    Dispose

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    View Source

    Equals(object)

    Determines whether the specified object is equal to this PvResult.

    Declaration
    public override bool Equals(object o)
    Parameters
    Type Name Description
    object o

    The object to compare with this instance.

    Returns
    Type Description
    bool

    True if the specified object is equal to this PvResult, false otherwise.

    Overrides
    object.Equals(object)
    View Source

    ~PvResult()

    Destructor.

    Declaration
    protected ~PvResult()
    View Source

    GetHashCode()

    Returns a hash code for this PvResult.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code based on the result code.

    Overrides
    object.GetHashCode()

    Operators

    View Source

    operator |(PvResult, PvResult)

    Combines two PvResult values using bitwise OR.

    Declaration
    public static PvResult operator |(PvResult a, PvResult b)
    Parameters
    Type Name Description
    PvResult a

    The first PvResult.

    PvResult b

    The second PvResult.

    Returns
    Type Description
    PvResult

    A new PvResult with combined error codes.

    View Source

    operator ==(PvResult, object)

    Compares a PvResult with another object for equality.

    Declaration
    public static bool operator ==(PvResult a, object b)
    Parameters
    Type Name Description
    PvResult a

    The PvResult to compare.

    object b

    The object to compare with (can be PvResult or uint).

    Returns
    Type Description
    bool

    True if equal, false otherwise.

    View Source

    operator !=(PvResult, object)

    Compares a PvResult with another object for inequality.

    Declaration
    public static bool operator !=(PvResult a, object b)
    Parameters
    Type Name Description
    PvResult a

    The PvResult to compare.

    object b

    The object to compare with (can be PvResult or uint).

    Returns
    Type Description
    bool

    True if not equal, false otherwise.

    Implements

    IDisposable
    • View Source
    In this article
    Back to top Generated by DocFX