TfvcHttpClient.GetLabel Method
Namespace: Microsoft.TeamFoundation.SourceControl.WebApi
Assembly: Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)
Syntax
'Declaration
Public Function GetLabel ( _
labelId As Integer, _
requestData As TfvcLabelRequestData, _
userState As Object _
) As Task(Of TfvcLabel)
public Task<TfvcLabel> GetLabel(
int labelId,
TfvcLabelRequestData requestData,
Object userState
)
public:
Task<TfvcLabel^>^ GetLabel(
int labelId,
TfvcLabelRequestData^ requestData,
Object^ userState
)
member GetLabel :
labelId:int *
requestData:TfvcLabelRequestData *
userState:Object -> Task<TfvcLabel>
public function GetLabel(
labelId : int,
requestData : TfvcLabelRequestData,
userState : Object
) : Task<TfvcLabel>
Parameters
- labelId
Type: System.Int32
- requestData
Type: Microsoft.TeamFoundation.SourceControl.WebApi.TfvcLabelRequestData
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<TfvcLabel>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.