IPexMethodCallChoiceSession.ChooseExceptionFromTypes(Type[]) 方法

定义

返回一个具有指定类型之一的异常

public:
 Exception ^ ChooseExceptionFromTypes(... cli::array <Type ^> ^ exceptionTypes);
public Exception ChooseExceptionFromTypes (params Type[] exceptionTypes);
abstract member ChooseExceptionFromTypes : Type[] -> Exception
Public Function ChooseExceptionFromTypes (ParamArray exceptionTypes As Type()) As Exception

参数

exceptionTypes
Type[]

异常类型。

返回

Exception

适用于