ObjectiveCMarshal.SetMessageSendPendingException(Exception) 方法

定义

设置在下次从 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)

参数

exception
Exception

异常。

注解

如果 null 提供 ,则放弃任何挂起的异常。

适用于