ObjectiveCMarshal.SetMessageSendCallback Metodo

Definizione

Impostare un override del puntatore di funzione per un Objective-C messaggio di runtime 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 di cui eseguire l'override.

func
IntPtr

nativeint

Override della funzione.

Eccezioni

La funzione msgSend è già stata sottoposta a override.

Commenti

Fornire un override può abilitare il supporto per Objective-C supporto di argomenti variadic.

Si applica a