IPexMethodCallChoiceSession.ChooseExceptionFromSubtypes(Type[]) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回一个具有指定类型之一的异常
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[]
异常类型。