WiFiDirectServiceAdvertiser.ServiceStatus 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置服务状态。
public:
property WiFiDirectServiceStatus ServiceStatus { WiFiDirectServiceStatus get(); void set(WiFiDirectServiceStatus value); };
WiFiDirectServiceStatus ServiceStatus();
void ServiceStatus(WiFiDirectServiceStatus value);
public WiFiDirectServiceStatus ServiceStatus { get; set; }
var wiFiDirectServiceStatus = wiFiDirectServiceAdvertiser.serviceStatus;
wiFiDirectServiceAdvertiser.serviceStatus = wiFiDirectServiceStatus;
Public Property ServiceStatus As WiFiDirectServiceStatus
属性值
对应于服务状态的枚举值。 请注意,如果此值为 Custom,则 CustomServiceStatusCode 属性会提供实际的自定义状态代码值。