UsageConstraint Methods
The UsageConstraint type exposes the following members.
Methods
Name | Description | |
---|---|---|
Dispose |
Destroys this instance of the Constraint.
(Inherited from AbstractConstraint.) |
|
Equals(System.Object) | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FromXml(XmlNode) |
This creates a UsageConstriant from an XmlNode.
|
|
FromXml(String) |
This is responsible for parsing a String
to form the BetaConstriant.
(Inherited from AbstractConstraint.) |
|
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
IntFromXML | (Inherited from AbstractConstraint.) | |
MemberwiseClone | (Inherited from Object.) | |
Saved |
Resets the is dirty flag to know this item has been saved.
(Inherited from AbstractLicenseData.) |
|
StringFromXML | (Inherited from AbstractConstraint.) | |
ToString |
Provides detailed information about the constrain as a text
(Inherited from AbstractConstraint.) |
|
ToXmlString |
Converts this instance of License Data to a
String representing the XML
of the specific License Data object.
(Inherited from AbstractConstraint.) |
|
Validate |
This verifies the license meets its desired validation criteria. This includes validating that the license has not been used more times then the usage constraint allows. The usage constraints available are: Hit Count - The maximum number of hits for a web services.Usage Count - The maximum number of uses for an application.Duration - The maximum number of days this may be used. If any of these values are exceeded then the license validation will return false and the failure reason will be set. |