The TaskEnvironment type exposes the following members.

Constructors

  Name Description
Public method TaskEnvironment
Initializes a new instance of the TaskEnvironment class.

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetProperty(String)
Returns property value by name.
Public method GetProperty<(Of <<'(T>)>>)(String)
Returns property value by name.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SetConfigurationFile
Specifies the .NET configuration file to load into the host application domain during task execution. If you wish to use the current configuration file, pass in ConfigurationFile.
Public method SetConfigurationString
Specifies the .NET configuration as a string to load into the host application domain during task execution.
Public method SetProperty(String, Object)
Sets property value.
Public method SetProperty<(Of <<'(T>)>>)(String, T)
Sets property value.
Public method Setup
Called by Host before Task is executed.
Public method Teardown
Called by Host after Task is executed.
Public method ToString (Inherited from Object.)

Properties

  Name Description
Public property AdditionalId
Gets or sets the optional additional id of the environment. Environment can be reused if Environment IDs are identical.
Public property AttachToDebugger
Gets or sets a value indicating whether to automatically attach the host processes to the debugger running the client submission code.
Public property DebuggerType
Gets or sets the type of the debugger used by the host process to attach itself to Visual Studio.
Public property HostArchitecture
Gets or sets the desired CPU Architecture of the host that executes the task.
Public property Id
Gets or sets the id of the environment. Environment can be reused if the environment IDs are identical.
Public property Name
Gets or sets the display name of the task environment.
Public property Properties
Gets task environment properties.
Public property RecycleSettings
Gets or sets the recycling settings used for the policy which determines when to shutdown the host process the task runs on.
Public property RequiredLicense
Gets or sets the required license associated with this environment.
Public property TasksPerHost Obsolete.
Gets or sets the number of tasks this environment will execute before shutting down.
Public property TeardownTimeout
Gets or sets the amount of time teardown can run for before it is timed-out in milliseconds.
Public property ThreadApartmentState
Gets or sets the apartment state of the thread that will be used to set the task environment and execute the tasks. The default is to use STA (i.e. ApartmentState.STA).
Public property WorkingDirectory
Gets or sets the custom working directory of the task environment.

See Also