Share via


NSXpcConnection.CreateRemoteObjectProxy Method

Definition

Overloads

CreateRemoteObjectProxy<TProtocol>()

public TProtocol CreateRemoteObjectProxy<TProtocol>() where TProtocol : class, ObjCRuntime.INativeObject;
member this.CreateRemoteObjectProxy : unit -> 'Protocol (requires 'Protocol : null and 'Protocol :> ObjCRuntime.INativeObject)

Type Parameters

TProtocol

Returns

TProtocol

Applies to

CreateRemoteObjectProxy<TProtocol>(Action<NSError>)

public TProtocol CreateRemoteObjectProxy<TProtocol>(Action<Foundation.NSError> errorHandler) where TProtocol : class, ObjCRuntime.INativeObject;
member this.CreateRemoteObjectProxy : Action<Foundation.NSError> -> 'Protocol (requires 'Protocol : null and 'Protocol :> ObjCRuntime.INativeObject)

Type Parameters

TProtocol

Parameters

errorHandler
Action<NSError>

Returns

TProtocol

Applies to