'Declaration Public ReadOnly Property ScheduleInfo As WebScheduleInfo
public WebScheduleInfo ScheduleInfo {get;}
Exception | Description |
---|---|
System.InvalidOperationException | Thrown if the ScheduleInfo property is assigned a different owner after already having been initialized. Check the HasScheduleInfo property before assigning a WebScheduleInfo to avoid making this error. |
If the current Activity object is un-owned, then an application may assign a non-null WebScheduleInfo to it for initialization purposes (for example, during data binding). An Activity requires a non-null WebScheduleInfo owner for it's properties to default their values to correctly, otherwise the error message "Object reference not set to an instance of an object" may appear when accessing properties dependent on WebScheduleInfo.
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