共用方式為


INSPortDelegate 介面

定義

如果通訊協定 NSPortDelegate 有任何) ,則表示必要方法的介面 (。

[Foundation.Protocol(Name="NSPortDelegate", WrapperType=typeof(Foundation.NSPortDelegateWrapper))]
public interface INSPortDelegate : IDisposable, ObjCRuntime.INativeObject
type INSPortDelegate = interface
    interface INativeObject
    interface IDisposable
衍生
屬性
實作

備註

如果來自 所 NSPortDelegate 定義的通訊協定有任何) ,這個介面會包含必要方法 (。

如果開發人員建立實作此介面的類別,則實作方法會自動匯出至 Objective-C,其中包含通訊協定中所定義方法的 NSPortDelegate 相符簽章。

選擇性方法 (如果類別提供 NSPortDelegate_Extensions 任何) 做為介面的擴充方法,可讓開發人員在通訊協定上叫用任何選擇性方法。

屬性

Handle

處理 unmanaged 物件標記法) (指標。

(繼承來源 INativeObject)

擴充方法

MessageReceived(INSPortDelegate, NSPortMessage)

如果通訊協定 NSPortDelegate 有任何) ,則表示必要方法的介面 (。

適用於