IPexMethodCallChoiceSession.ChooseExceptionFromSubtypes(Type[]) 方法

定义

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

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

参数

exceptionTypes
Type[]

异常类型。

返回

Exception

适用于