WiFiDirectServiceAdvertiser.ServiceError 属性

定义

获取 AbortedAdvertisementStatus 时的特定错误代码。

public:
 property WiFiDirectServiceError ServiceError { WiFiDirectServiceError get(); };
WiFiDirectServiceError ServiceError();
public WiFiDirectServiceError ServiceError { get; }
var wiFiDirectServiceError = wiFiDirectServiceAdvertiser.serviceError;
Public ReadOnly Property ServiceError As WiFiDirectServiceError

属性值

一个枚举值,该值提供一个更具体的原因,导致 AdvertisementStatus被中止

适用于