Condividi tramite


ObjectiveCMarshal.SetMessageSendCallback Metodo

Definizione

Impostare un override del puntatore di funzione per un messaggio di runtime Objective-C che passa l'esportazione.

public:
 static void SetMessageSendCallback(System::Runtime::InteropServices::ObjectiveC::ObjectiveCMarshal::MessageSendFunction msgSendFunction, IntPtr func);
public static void SetMessageSendCallback (System.Runtime.InteropServices.ObjectiveC.ObjectiveCMarshal.MessageSendFunction msgSendFunction, IntPtr func);
static member SetMessageSendCallback : System.Runtime.InteropServices.ObjectiveC.ObjectiveCMarshal.MessageSendFunction * nativeint -> unit
Public Shared Sub SetMessageSendCallback (msgSendFunction As ObjectiveCMarshal.MessageSendFunction, func As IntPtr)

Parametri

msgSendFunction
ObjectiveCMarshal.MessageSendFunction

Esportazione da eseguire l'override.

func
IntPtr

nativeint

Override della funzione.

Eccezioni

La funzione msgSend è già stata sottoposta a override.

Commenti

La fornitura di un override può abilitare il supporto per l'argomento variadic objective-C.

Si applica a