Share via


EndPoint.GetMessage Method

Gets a message.

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

Syntax

public Message GetMessage (
         int timeout
)

Parameters

  • timeout
    The length of time to wait for a message.

Return Value

A message object if a message was received; otherwise, null.

Remarks

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

Version Information

Available in the .NET Micro Framework versions 3.0, 4.0, 4.1 and 4.2.

See Also

Reference

EndPoint Class
EndPoint Members
Microsoft.SPOT.Messaging Namespace