Version

AddVarianceContext Constructor

Creates an AddVarianceContext describing the parameters necessary to add a Variance to the data source through a WebSchedule data provider.
Syntax
'Declaration
 
Public Function New( _
   ByVal appointmentVariance As AppointmentVariance, _
   ByVal activeResourceName As String _
)
public AddVarianceContext( 
   AppointmentVariance appointmentVariance,
   string activeResourceName
)

Parameters

appointmentVariance
An AppointmentVariance to be stored in the data source.
activeResourceName
The name of the active resource that organized the root activity being varied by the appointmentVariance. When unspecified the "Unassigned" resource will be used.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionThrown when appointmentVariance is null (or Nothing in Visual Basic .NET). You are required to supply an instance of AppointmentVariance to be added to your data source.
Requirements

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

See Also