NSNetService.Publish 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Publish(NSNetServiceOptions) | |
Publish() |
嘗試在網路上公告此服務。 |
Publish(NSNetServiceOptions)
[Foundation.Export("publishWithOptions:")]
public virtual void Publish (Foundation.NSNetServiceOptions options);
abstract member Publish : Foundation.NSNetServiceOptions -> unit
override this.Publish : Foundation.NSNetServiceOptions -> unit
參數
- options
- NSNetServiceOptions
- 屬性
適用於
Publish()
嘗試在網路上公告此服務。
[Foundation.Export("publish")]
public virtual void Publish ();
abstract member Publish : unit -> unit
override this.Publish : unit -> unit
- 屬性