다음을 통해 공유


ThreadHelper.Invoke<TResult> Method (Func)

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

‘선언
Public Function Invoke(Of TResult) ( _
    method As Func _
) As TResult
‘사용 방법
Dim instance As ThreadHelper
Dim method As Func
Dim returnValue As TResult

returnValue = instance.Invoke(method)
public TResult Invoke<TResult>(
    Func method
)
public:
generic<typename TResult>
TResult Invoke(
    Func^ method
)
member Invoke : 
        method:Func -> 'TResult 
JScript does not support generic types or methods.

Type Parameters

  • TResult

Parameters

Return Value

Type: TResult

.NET Framework Security

See Also

Reference

ThreadHelper Class

ThreadHelper Members

Invoke Overload

Microsoft.VisualStudio.Shell Namespace