DefaultTaskEnvironment Class

Default task environment used in a job.
Inheritance Hierarchy
SystemObject
  AGI.Parallel.InfrastructureTaskEnvironment
    AGI.Parallel.InfrastructureDefaultTaskEnvironment
Namespace:  AGI.Parallel.Infrastructure
Assembly:  AGI.Parallel.Infrastructure (in AGI.Parallel.Infrastructure.dll) Version: 1.3.0.366 (1.3.0.366)
Syntax
[SerializableAttribute]
public sealed class DefaultTaskEnvironment : TaskEnvironment

The DefaultTaskEnvironment type exposes the following members.

Constructors
  Name Description
Public method DefaultTaskEnvironment
Initializes a new instance of the DefaultTaskEnvironment class
Top
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.
(Inherited from TaskEnvironment.)
Public propertyCode example AttachToDebugger
Gets or sets a value indicating whether to automatically attach the host processes to the debugger running the client submission code.
(Inherited from TaskEnvironment.)
Public propertyCode example DebuggerType
Gets or sets the type of the debugger used by the host process to attach itself to Visual Studio.
(Inherited from TaskEnvironment.)
Public property HostArchitecture
Gets or sets the desired CPU Architecture of the host that executes the task.
(Inherited from TaskEnvironment.)
Public property Id
Gets or sets the id of the environment. Environment can be reused if the environment IDs are identical.
(Inherited from TaskEnvironment.)
Public property Name
Gets or sets the display name of the task environment.
(Inherited from TaskEnvironment.)
Public property Properties
Gets task environment properties.
(Inherited from TaskEnvironment.)
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.
(Inherited from TaskEnvironment.)
Public property RequiredLicense
Gets or sets the required license associated with this environment.
(Inherited from TaskEnvironment.)
Public property TasksPerHost Obsolete.
Gets or sets the number of tasks this environment will execute before shutting down.
(Inherited from TaskEnvironment.)
Public property TeardownTimeout
Gets or sets the amount of time teardown can run for before it is timed-out in milliseconds.
(Inherited from TaskEnvironment.)
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).
(Inherited from TaskEnvironment.)
Public propertyCode example WorkingDirectory
Gets or sets the custom working directory of the task environment.
(Inherited from TaskEnvironment.)
Top
Methods
  Name Description
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetProperty(String)
Returns property value by name.
(Inherited from TaskEnvironment.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodCode example 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.
(Inherited from TaskEnvironment.)
Public methodCode example SetConfigurationString
Specifies the .NET configuration as a string to load into the host application domain during task execution.
(Inherited from TaskEnvironment.)
Public method SetProperty(String, Object)
Sets property value.
(Inherited from TaskEnvironment.)
Public method SetPropertyT(String, T)
Sets property value.
(Inherited from TaskEnvironment.)
Public method Setup
Called by Host before Task is executed.
(Overrides TaskEnvironmentSetup.)
Public method Teardown
Called by Host after Task is executed.
(Overrides TaskEnvironmentTeardown.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

STK Scalability 1.3 API for .NET