InvokeWorkflowActivity.ITypeFilterProvider.CanFilterType Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Determina si el flujo de trabajo puede filtrar Type.
virtual bool System.Workflow.ComponentModel.Design.ITypeFilterProvider.CanFilterType(Type ^ type, bool throwOnError) = System::Workflow::ComponentModel::Design::ITypeFilterProvider::CanFilterType;
bool ITypeFilterProvider.CanFilterType (Type type, bool throwOnError);
abstract member System.Workflow.ComponentModel.Design.ITypeFilterProvider.CanFilterType : Type * bool -> bool
override this.System.Workflow.ComponentModel.Design.ITypeFilterProvider.CanFilterType : Type * bool -> bool
Function CanFilterType (type As Type, throwOnError As Boolean) As Boolean Implements ITypeFilterProvider.CanFilterType
Parámetros
- type
- Type
El tipo que el flujo de trabajo debe filtrar.
- throwOnError
- Boolean
true
para iniciar un error si no se puede filtrar el tipo especificado; de lo contrario, false
.
Devoluciones
true
si se puede filtrar el Type especificado; de lo contrario, false
.
Implementaciones
Excepciones
type
es null
.
throwonError
es true
. Esto indica que type
es un tipo de tiempo de diseño.
type
no es la actividad raíz.