'Declaration Public Function New( _ ByVal dataKey As String, _ ByVal rootActivityKey As String, _ ByVal recurrenceKey As String, _ ByVal originalStartDateTimeUtc As SmartDate _ )
public RemoveVarianceContext( string dataKey, string rootActivityKey, string recurrenceKey, SmartDate originalStartDateTimeUtc )
Exception | Description |
---|---|
System.ArgumentNullException | Thrown when either dataKey, rootActivityKey, or recurrenceKey are supplied as null (Nothing in Visual Basic .NET) or empty strings. Both values are required to remove an instance of the variance. |
System.ArgumentException | Thrown when either dataKey, rootActivityKey, or recurrenceKey do not represent a numeric value, or when the value -999 is supplied. Non-default keys are required to remove an instance of the variance. |
The WebSchedule data model gives each variance row it's own unique dataKey distinct from it's parent (or containing) rootActivityKey. The built-in WebSchedule data providers may ignore the originalStartDateTimeUtc argument.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2