SendMessage Method

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

Sends a message.

Namespace:  Microsoft.SPOT.Messaging
Assembly:  Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)

Syntax

'Declaration
Public Function SendMessage ( _
    selector As Type, _
    id As UInteger, _
    timeout As Integer, _
    payload As Object _
) As Object
public Object SendMessage(
    Type selector,
    uint id,
    int timeout,
    Object payload
)
public:
Object^ SendMessage(
    Type^ selector, 
    unsigned int id, 
    int timeout, 
    Object^ payload
)
member SendMessage : 
        selector:Type * 
        id:uint32 * 
        timeout:int * 
        payload:Object -> Object 
public function SendMessage(
    selector : Type, 
    id : uint, 
    timeout : int, 
    payload : Object
) : Object

Parameters

Return Value

Type: System. . :: . .Object
Returns null if the message was sent successfully, or the deserialized contents of the message if transmission was unsuccessful.

Remarks

This class supports the .NET Micro Framework infrastructure and is not intended to be used directly from your code.

.NET Framework Security

See Also

Reference

EndPoint Class

Microsoft.SPOT.Messaging Namespace