Condividi tramite


QueuedBuild2010.Reason Property

Gets the reason this build was queued. This field is read only.

Namespace:  Microsoft.TeamFoundation.Build.Server.Compatibility
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Public, Direction := ClientPropertySerialization.ServerToClientOnly)> _
Public Property Reason As BuildReason2010
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Public, Direction = ClientPropertySerialization.ServerToClientOnly)]
public BuildReason2010 Reason { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Public, Direction = ClientPropertySerialization::ServerToClientOnly)]
public:
property BuildReason2010 Reason {
    BuildReason2010 get ();
    void set (BuildReason2010 value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Public, Direction = ClientPropertySerialization.ServerToClientOnly)>]
member Reason : BuildReason2010 with get, set
function get Reason () : BuildReason2010 
function set Reason (value : BuildReason2010)

Property Value

Type: Microsoft.TeamFoundation.Build.Server.Compatibility.BuildReason2010
Returns BuildReason2010.

.NET Framework Security

See Also

Reference

QueuedBuild2010 Class

Microsoft.TeamFoundation.Build.Server.Compatibility Namespace