Search Results for

    Show / Hide Table of Contents

    Class AsyncValueTaskMethodBuilder<TResult>

    Inheritance
    System.Object
    AsyncValueTaskMethodBuilder<TResult>
    Namespace: System.Runtime.CompilerServices
    Assembly: IronZip.dll
    Syntax
    public sealed class AsyncValueTaskMethodBuilder<TResult> : ValueType
    Type Parameters
    Name Description
    TResult

    Properties

    Task

    Declaration
    public ValueTask<TResult> Task { get; }
    Property Value
    Type Description
    ValueTask<TResult>

    Methods

    AwaitOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter, ref TStateMachine)

    Declaration
    public void AwaitOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine)
        where TAwaiter : INotifyCompletion where TStateMachine : IAsyncStateMachine
    Parameters
    Type Name Description
    TAwaiter awaiter
    TStateMachine stateMachine
    Type Parameters
    Name Description
    TAwaiter
    TStateMachine

    AwaitUnsafeOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter, ref TStateMachine)

    Declaration
    public void AwaitUnsafeOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine)
        where TAwaiter : ICriticalNotifyCompletion where TStateMachine : IAsyncStateMachine
    Parameters
    Type Name Description
    TAwaiter awaiter
    TStateMachine stateMachine
    Type Parameters
    Name Description
    TAwaiter
    TStateMachine

    Create()

    Declaration
    public static AsyncValueTaskMethodBuilder<TResult> Create()
    Returns
    Type Description
    AsyncValueTaskMethodBuilder<TResult>

    SetException(Exception)

    Declaration
    public void SetException(Exception exception)
    Parameters
    Type Name Description
    System.Exception exception

    SetResult(TResult)

    Declaration
    public void SetResult(TResult result)
    Parameters
    Type Name Description
    TResult result

    SetStateMachine(IAsyncStateMachine)

    Declaration
    public void SetStateMachine(IAsyncStateMachine stateMachine)
    Parameters
    Type Name Description
    System.Runtime.CompilerServices.IAsyncStateMachine stateMachine

    Start<TStateMachine>(ref TStateMachine)

    Declaration
    public void Start<TStateMachine>(ref TStateMachine stateMachine)
        where TStateMachine : IAsyncStateMachine
    Parameters
    Type Name Description
    TStateMachine stateMachine
    Type Parameters
    Name Description
    TStateMachine
    ☀
    ☾
    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.