Nevron Open Vision Documentation
Nevron.Nov.Interop Namespace / NInteropMarshaller Class / InvokeAsync<ESMb> Method
packed arguments data


In This Topic
    InvokeAsync<ESMb> Method (NInteropMarshaller)
    In This Topic
    Performs an async interop and returns the result of the specified type. If an error occurs the returned promise is rejected.
    Syntax
    'Declaration
     
    
    Public Overridable Function InvokeAsync(Of ESMb)( _
       ByVal callVoid As System.Boolean, _
       ByVal func As INInteropFunction, _
       ByVal argsData As System.IO.MemoryStream _
    ) As NPromise(Of ESMb)
    'Usage
     
    
    Dim instance As NInteropMarshaller
    Dim callVoid As System.Boolean
    Dim func As INInteropFunction
    Dim argsData As System.IO.MemoryStream
    Dim value As NPromise(Of ESMb)
     
    value = instance.InvokeAsync(Of ESMb)(callVoid, func, argsData)
    public virtual NPromise<ESMb> InvokeAsync<ESMb>( 
       System.bool callVoid,
       INInteropFunction func,
       System.IO.MemoryStream argsData
    )

    Parameters

    callVoid
    func
    argsData
    packed arguments data

    Type Parameters

    ESMb
    Exceptions
    ExceptionDescription
    The exception that is thrown when a method call is invalid for the object's current state.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also