Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Invokes the specified delegate method on the user interface thread.
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
'Declaration
Sub InvokeInUIThread ( _
method As Delegate, _
args As Object() _
)
void InvokeInUIThread(
Delegate method,
Object[] args
)
void InvokeInUIThread(
Delegate^ method,
array<Object^>^ args
)
abstract InvokeInUIThread :
method:Delegate *
args:Object[] -> unit
function InvokeInUIThread(
method : Delegate,
args : Object[]
)
Parameters
method
Type: System.DelegateThe delegate method to invoke.
args
Type: array<System.Object[]Arguments for the method to invoke.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.