Invoke 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 with a specified argument.

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

Syntax

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

Parameters

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

Return Value

Type: System. . :: . .Object
The return value from the invoked delegate, or a nullNothingnullptrunita null reference (Nothing in Visual Basic) if the delegate has no return value.

.NET Framework Security

See Also

Reference

Dispatcher Class

Microsoft.SPOT Namespace