Class LoadOptions
Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)
Allows to specify additional load parameters when loading a project from file or stream.
public class LoadOptions
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
LoadOptions()
Initializes a new instance of the Aspose.Tasks.LoadOptions class.
public LoadOptions()
Properties
CancellationToken
Gets or sets a token which can be used to cancel a project loading operation.
public CancellationToken CancellationToken { get; set; }
Property Value
Encoding
Gets or sets encoding which is used to read a project from HTML, MPX, XER and Primavera XML formats. The default encoding is UTF8.
public Encoding Encoding { get; set; }
Property Value
ErrorHandler
Gets or sets a callback method to handle xml parse errors.
public ParseErrorCallback ErrorHandler { get; set; }
Property Value
Password
Gets or sets a protection password.
public string Password { get; set; }
Property Value
PrimaveraReadOptions
Gets or sets a specified instance of the Aspose.Tasks.PrimaveraReadOptions class which can be used to customize the behavior of loading Primavera formats (Primavera P6 XER or Primavera P6 Xml).
public PrimaveraReadOptions PrimaveraReadOptions { get; set; }