Evaluate Method of the IFlow Interface
Evaluate Method of the IFlow Interface
Triggers the manager to evaluate the flow.
[C#] public abstract FlowError[] Evaluate();
FakePre-1d9bc4ca6795400cad64ce4c919f0675-4a6824c4ccee4515a8b98f8093a14eb4
Parameters
This method has no parameters.
Return Value
An array of flow errors. If there are no flow errors, the length of this array is zero.
Remarks
The flow has access to the settings that are specified by setting declarations in the FlowDefinition complex type of the system definition model.
The manager generator (Sdmg.exe) can be used to generate a partial class with properties that correspond to the SDM settings.
Add the Evaluate method to the partial class that the manager generator creates.
If an exception is thrown by the manager from the Evaluate method, the exception will be reported as an error in the SDM.
Requirements
Namespace |
Defined in Microsoft.SystemDefinitionModel.Manager. |
Assembly |
Requires Microsoft.Sdm.Manager (in Microsoft.Sdm.Manager.dll). |
.NET Framework |
Requires .NET Framework 2.0. |
See Also
Microsoft.SystemDefinitionModel.Manager
IFlow
FlowError
Send comments about this topic to Microsoft
Build date: 10/2/2007