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 屬性會提供實際的自訂狀態碼值。