ObjectiveCMarshal.SetMessageSendPendingException(Exception) Méthode

Définition

Définit une exception en attente à lever la prochaine fois que le runtime est entré à partir d’un msgSend P/Invoke Objective-C.

public:
 static void SetMessageSendPendingException(Exception ^ exception);
public static void SetMessageSendPendingException(Exception? exception);
static member SetMessageSendPendingException : Exception -> unit
Public Shared Sub SetMessageSendPendingException (exception As Exception)

Paramètres

exception
Exception

Exception.

Remarques

Si null une exception en attente est fournie, elle est ignorée.

S’applique à