Share via


Task.Stderr Property

Redirects standard error to the specified file.

Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)

Usage

Syntax

'Declaration
<DefaultValueAttribute("")> _
<XmlAttributeAttribute> _
Public Property Stderr As String
[DefaultValueAttribute("")] 
[XmlAttributeAttribute] 
public string Stderr { get; set; }
[DefaultValueAttribute(L"")] 
[XmlAttributeAttribute] 
public:
virtual property String^ Stderr {
    String^ get () sealed;
    void set (String^ value) sealed;
}
/** @property */
public final String get_Stderr ()

/** @property */
public final void set_Stderr (String value)
public final function get Stderr () : String

public final function set Stderr (value : String)

Property Value

The path to the file to which standard error is redirected.

Remarks

You must specify a file to capture output to stderr; otherwise, the output is lost. If the file exists, it is overwritten. Specify a separate file for each task. If you use the same file, the task could fail if the file is currently locked by another task. The path must exist on each node on which the task runs.

The error file is ignored for tasks run as commands (see Cluster.ExecuteCommand).

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Microsoft Windows Compute Cluster Server 2003, Windows Server 2003, Windows XP

Target Platforms

Microsoft Windows Compute Cluster Server 2003, Windows Server 2003 with Compute Cluster Pack Client Utilities, Windows XP with Compute Cluster Pack Client Utilities

See Also

Reference

Task Class
Task Members
Microsoft.ComputeCluster Namespace
Stdin
Stdout