ConstraintHelper.CreateHostEnvironmentConstraint Method
Creates a Constraint for verifying that the activity is in the correct host environment.
Namespace: Microsoft.TeamFoundation.Build.Workflow.Validation
Assembly: Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Dichiarazione
Public Shared Function CreateHostEnvironmentConstraint As Constraint
public static Constraint CreateHostEnvironmentConstraint()
public:
static Constraint^ CreateHostEnvironmentConstraint()
static member CreateHostEnvironmentConstraint : unit -> Constraint
public static function CreateHostEnvironmentConstraint() : Constraint
Return Value
Type: System.Activities.Validation.Constraint
A Constraint for verifying that the activity is in the correct host environment.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.TeamFoundation.Build.Workflow.Validation Namespace