WrappedFunc.Invoke Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.Utility.Plugin
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)

Usage

'Usage
Dim instance As WrappedFunc(Of T0, T1, TRet)
Dim tVal0 As T0
Dim tVal1 As T1
Dim returnValue As TRet

returnValue = instance.Invoke(tVal0, tVal1)

Syntax

'Declaration
Public Function Invoke ( _
    tVal0 As T0, _
    tVal1 As T1 _
) As TRet
public TRet Invoke (
    T0 tVal0,
    T1 tVal1
)
public:
TRet Invoke (
    T0 tVal0, 
    T1 tVal1
)
public TRet Invoke (
    T0 tVal0, 
    T1 tVal1
)
public function Invoke (
    tVal0 : T0, 
    tVal1 : T1
) : TRet

Parameters

  • tVal0
  • tVal1

Return Value

Returns Object.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

WrappedFunc Generic Class
WrappedFunc Members
Microsoft.OneGet.Utility.Plugin Namespace