IPexMethodCallChoiceSession.ChooseExceptionFromTypes(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 ^ 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
Parameters
- exceptionTypes
- Type[]
The exception types.