IPexMethodCallChoiceSession.ChooseExceptionFromSubtypes(Type[]) Method

Definition

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.

Returns

Applies to