Search Results for

    Show / Hide Table of Contents

    Class ValueTask

    Inheritance
    System.Object
    ValueTask
    Implements
    System.IEquatable<ValueTask>
    Namespace: System.Threading.Tasks
    Assembly: IronZip.dll
    Syntax
    public sealed class ValueTask : ValueType

    Constructors

    ValueTask(IValueTaskSource, Int16)

    Declaration
    public ValueTask(IValueTaskSource source, short token)
    Parameters
    Type Name Description
    IValueTaskSource source
    System.Int16 token

    ValueTask(Task)

    Declaration
    public ValueTask(Task task)
    Parameters
    Type Name Description
    System.Threading.Tasks.Task task

    Properties

    IsCanceled

    Declaration
    public bool IsCanceled { get; }
    Property Value
    Type Description
    System.Boolean

    IsCompleted

    Declaration
    public bool IsCompleted { get; }
    Property Value
    Type Description
    System.Boolean

    IsCompletedSuccessfully

    Declaration
    public bool IsCompletedSuccessfully { get; }
    Property Value
    Type Description
    System.Boolean

    IsFaulted

    Declaration
    public bool IsFaulted { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    AsTask()

    Declaration
    public Task AsTask()
    Returns
    Type Description
    System.Threading.Tasks.Task

    ConfigureAwait(Boolean)

    Declaration
    public ConfiguredValueTaskAwaitable ConfigureAwait(bool continueOnCapturedContext)
    Parameters
    Type Name Description
    System.Boolean continueOnCapturedContext
    Returns
    Type Description
    ConfiguredValueTaskAwaitable

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean

    Equals(ValueTask)

    Declaration
    public bool Equals(ValueTask other)
    Parameters
    Type Name Description
    ValueTask other
    Returns
    Type Description
    System.Boolean

    GetAwaiter()

    Declaration
    public ValueTaskAwaiter GetAwaiter()
    Returns
    Type Description
    ValueTaskAwaiter

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    Preserve()

    Declaration
    public ValueTask Preserve()
    Returns
    Type Description
    ValueTask

    Operators

    Equality(ValueTask, ValueTask)

    Declaration
    public static bool operator ==(ValueTask left, ValueTask right)
    Parameters
    Type Name Description
    ValueTask left
    ValueTask right
    Returns
    Type Description
    System.Boolean

    Inequality(ValueTask, ValueTask)

    Declaration
    public static bool operator !=(ValueTask left, ValueTask right)
    Parameters
    Type Name Description
    ValueTask left
    ValueTask right
    Returns
    Type Description
    System.Boolean

    Implements

    System.IEquatable<>
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet
    Want to deploy IronZIP to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronZIP free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.