Table of Contents

Struct ResourceError

Namespace
Gst
Assembly
Gst-1.0.dll

Contains all error codes of the ResourceError error-domain.

public readonly ref struct ResourceError
Inherited Members

Constructors

ResourceError(int)

Creates a new error in the ResourceError domain with a given error code.

public ResourceError(int errorCode)

Parameters

errorCode int

A specific error code of the domain

Properties

Any

Can be used to match a GException with any error code of the "ResourceError" error-domain.

public static Quark Any { get; }

Property Value

Quark

Busy

Can be used to match a GException with the "Busy" code (4).

public static ResourceError Busy { get; }

Property Value

ResourceError

Close

Can be used to match a GException with the "Close" code (8).

public static ResourceError Close { get; }

Property Value

ResourceError

Failed

Can be used to match a GException with the "Failed" code (1).

public static ResourceError Failed { get; }

Property Value

ResourceError

NoSpaceLeft

Can be used to match a GException with the "NoSpaceLeft" code (14).

public static ResourceError NoSpaceLeft { get; }

Property Value

ResourceError

NotAuthorized

Can be used to match a GException with the "NotAuthorized" code (15).

public static ResourceError NotAuthorized { get; }

Property Value

ResourceError

NotFound

Can be used to match a GException with the "NotFound" code (3).

public static ResourceError NotFound { get; }

Property Value

ResourceError

NumErrors

Can be used to match a GException with the "NumErrors" code (16).

public static ResourceError NumErrors { get; }

Property Value

ResourceError

OpenRead

Can be used to match a GException with the "OpenRead" code (5).

public static ResourceError OpenRead { get; }

Property Value

ResourceError

OpenReadWrite

Can be used to match a GException with the "OpenReadWrite" code (7).

public static ResourceError OpenReadWrite { get; }

Property Value

ResourceError

OpenWrite

Can be used to match a GException with the "OpenWrite" code (6).

public static ResourceError OpenWrite { get; }

Property Value

ResourceError

Read

Can be used to match a GException with the "Read" code (9).

public static ResourceError Read { get; }

Property Value

ResourceError

Seek

Can be used to match a GException with the "Seek" code (11).

public static ResourceError Seek { get; }

Property Value

ResourceError

Settings

Can be used to match a GException with the "Settings" code (13).

public static ResourceError Settings { get; }

Property Value

ResourceError

Sync

Can be used to match a GException with the "Sync" code (12).

public static ResourceError Sync { get; }

Property Value

ResourceError

TooLazy

Can be used to match a GException with the "TooLazy" code (2).

public static ResourceError TooLazy { get; }

Property Value

ResourceError

Write

Can be used to match a GException with the "Write" code (10).

public static ResourceError Write { get; }

Property Value

ResourceError

Operators

implicit operator ErrorCode(ResourceError)

Converts a ResourceError into a ErrorCode which can be used to match a GException.

public static implicit operator ErrorCode(ResourceError e)

Parameters

e ResourceError

Returns

ErrorCode