IFlow.Evaluate method [SDM]
| SDM Reference |
IFlow.Evaluate()
Triggers the manager to evaluate the flow.
public abstract FlowError[] Evaluate();
Public MustOverride Function Evaluate() As FlowError()
Implements IFlow.Evaluate
Parameters
This method has no parameters.
Return Values
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
| Last updated: November 2005 | What did you think of this topic? | Order a Platform SDK CD |
| © Microsoft Corporation. All rights reserved. Terms of use. |