IPexMethodCallChoiceSession.ChooseExceptionFromTypes(Type[]) Method

Definition

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.

Returns

Applies to