BeginInvoke Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Executes a specified delegate on the thread on which a particular dispatcher was created.

Namespace:  Microsoft.SPOT
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Function BeginInvoke ( _
    method As DispatcherOperationCallback, _
    args As Object _
) As DispatcherOperation
public DispatcherOperation BeginInvoke(
    DispatcherOperationCallback method,
    Object args
)
public:
DispatcherOperation^ BeginInvoke(
    DispatcherOperationCallback^ method, 
    Object^ args
)
member BeginInvoke : 
        method:DispatcherOperationCallback * 
        args:Object -> DispatcherOperation 
public function BeginInvoke(
    method : DispatcherOperationCallback, 
    args : Object
) : DispatcherOperation

Parameters

  • args
    Type: System. . :: . .Object
    The object to be passed as an argument to the delegate. It can be a nullNothingnullptrunita null reference (Nothing in Visual Basic) if no arguments are needed.

Return Value

Type: Microsoft.SPOT. . :: . .DispatcherOperation
An object, which is returned immediately after the BeginInvoke method is called, that can be used to interact with the delegate as it is pending execution in the event queue.

.NET Framework Security

See Also

Reference

Dispatcher Class

Microsoft.SPOT Namespace