ObjectiveCMarshal.SetMessageSendPendingException(Exception) Methode

Definition

Legt eine ausstehende Ausnahme fest, die ausgelöst wird, wenn die Laufzeit das nächste Mal aus einem Objective-C msgSend P/Invoke eingegeben wird.

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

Parameter

exception
Exception

Die Ausnahme.

Hinweise

Wenn null eine ausstehende Ausnahme angegeben wird, wird verworfen.

Gilt für: