ObjectiveCMarshal.SetMessageSendPendingException(Exception) Método

Definição

Define uma exceção pendente a ser lançada na próxima vez que o runtime for introduzido a partir de um Objective-C msgSend P/Invoke.

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

Parâmetros

exception
Exception

A exceção.

Observações

Se null for fornecida, qualquer exceção pendente é descartada.

Aplica-se a