IPexMethodCallChoiceSession.ChooseExceptionFromSubtypes(Type[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an exception that has one of the specified types
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
Parameters
- exceptionTypes
- Type[]
The exception types.