DialReceiverApp Class
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.
Provides a mechanism for server apps to supply requested data to the DIAL REST service, which can be queried by client apps.
public ref class DialReceiverApp sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DialReceiverApp final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DialReceiverApp
Public NotInheritable Class DialReceiverApp
- Inheritance
- Attributes
Device family |
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v5.0)
|
Get an instance of this class by accessing the Current property.
Windows version | SDK version | Value added |
---|---|---|
1803 | 17134 | GetUniqueDeviceNameAsync |
Current |
Gets an instance of the DialReceiverApp class. |
Get |
Retrieves the a map of key/value pairs representing the data previously set with SetAdditionalDataAsync. |
Get |
Asynchronously gets the unique device name of the DIAL server device. |
Set |
Used by the server app to send a set of data in key/value pairs to the DIAL REST service so that it can be queried from a client app. |
Product | Versions |
---|---|
WinRT | Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |