SendMessageRaw Method

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

Sends a message as a raw stream of bytes.

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

Syntax

'Declaration
Public Function SendMessageRaw ( _
    selector As Type, _
    id As UInteger, _
    timeout As Integer, _
    payload As Byte() _
) As Byte()
public byte[] SendMessageRaw(
    Type selector,
    uint id,
    int timeout,
    byte[] payload
)
public:
array<unsigned char>^ SendMessageRaw(
    Type^ selector, 
    unsigned int id, 
    int timeout, 
    array<unsigned char>^ payload
)
member SendMessageRaw : 
        selector:Type * 
        id:uint32 * 
        timeout:int * 
        payload:byte[] -> byte[] 
public function SendMessageRaw(
    selector : Type, 
    id : uint, 
    timeout : int, 
    payload : byte[]
) : byte[]

Parameters

Return Value

Type: array<System. . :: . .Byte> [] () [] []
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