AllJoynCredentialsRequestedEventArgs.RequestedUserName 属性

定义

重要

Windows.Devices.AllJoyn 命名空间中的类型已弃用,将来的 Windows 版本中可能不可用。 AllJoyn(由 AllSeen Alliance 赞助)是一种开源发现和通信协议,适用于物联网 (IoT) 方案,例如开灯和关灯以及读取温度。 有关替代项(如 IoTivity LiteIoTivity),请参阅 iotivity.org 网站。

接受用户名/密码对的机制使用的用户名值。

public:
 property Platform::String ^ RequestedUserName { Platform::String ^ get(); };
winrt::hstring RequestedUserName();
/// [get: Windows.Foundation.Metadata.Deprecated("AllJoynCredentialsRequestedEventArgs has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
winrt::hstring RequestedUserName();
public string RequestedUserName { get; }
public string RequestedUserName { [Windows.Foundation.Metadata.Deprecated("AllJoynCredentialsRequestedEventArgs has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")] get; }
var string = allJoynCredentialsRequestedEventArgs.requestedUserName;
Public ReadOnly Property RequestedUserName As String

属性值

String

Platform::String

winrt::hstring

用户名。

属性

Windows 要求

应用功能
allJoyn

适用于