ObjectiveCMarshal.SetMessageSendCallback Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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.