LampArray.RequestMessageAsync(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
virtual IAsyncOperation<IBuffer ^> ^ RequestMessageAsync(int messageId) = RequestMessageAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IBuffer> RequestMessageAsync(int const& messageId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IBuffer> RequestMessageAsync(int messageId);
function requestMessageAsync(messageId)
Public Function RequestMessageAsync (messageId As Integer) As IAsyncOperation(Of IBuffer)
Parameters
- messageId
-
Int32
int
The identifer of a message.
Returns
An asynchronous object which, on completion, contains the requested message.
- Attributes
Examples
Demonstrates how to control RGB lighting of peripheral devices using the Windows.Devices.Lights and Windows.Devices.Lights.Effects APIs.
Demonstrates how to extract a single, representative color from a desktop screen and use it to illuminate LED lamps on a connected RGB device.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for