INSConnectionDelegate 接口

定义

[Foundation.Protocol(Name="NSConnectionDelegate", WrapperType=typeof(Foundation.NSConnectionDelegateWrapper))]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.None, "Use 'NSXpcConnection' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'NSXpcConnection' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 2, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'NSXpcConnection' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'NSXpcConnection' instead.")]
public interface INSConnectionDelegate : IDisposable, ObjCRuntime.INativeObject
type INSConnectionDelegate = interface
    interface INativeObject
    interface IDisposable
派生
属性
实现

属性

Handle

处理指向非托管对象表示形式的 (指针) 。

(继承自 INativeObject)

扩展方法

AllowNewConnection(INSConnectionDelegate, NSConnection, NSConnection)
AuthenticateComponents(INSConnectionDelegate, NSArray, NSData)
CreateConversation(INSConnectionDelegate, NSConnection)
GetAuthenticationData(INSConnectionDelegate, NSArray)
HandleRequest(INSConnectionDelegate, NSConnection, NSDistantObjectRequest)
ShouldMakeNewConnection(INSConnectionDelegate, NSConnection, NSConnection)

适用于