Workspace.Get Method (array<GetRequest , GetOptions, GetFilterCallback, Object)
Request server to update specified items.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
声明
Public Function Get ( _
requests As GetRequest(), _
options As GetOptions, _
filterCallback As GetFilterCallback, _
userData As Object _
) As GetStatus
public GetStatus Get(
GetRequest[] requests,
GetOptions options,
GetFilterCallback filterCallback,
Object userData
)
public:
GetStatus^ Get(
array<GetRequest^>^ requests,
GetOptions options,
GetFilterCallback^ filterCallback,
Object^ userData
)
member Get :
requests:GetRequest[] *
options:GetOptions *
filterCallback:GetFilterCallback *
userData:Object -> GetStatus
public function Get(
requests : GetRequest[],
options : GetOptions,
filterCallback : GetFilterCallback,
userData : Object
) : GetStatus
Parameters
- requests
Type: array<Microsoft.TeamFoundation.VersionControl.Client.GetRequest[]
The item and version being requested.
- options
Type: Microsoft.TeamFoundation.VersionControl.Client.GetOptions
Options for the Get operation.
- filterCallback
Type: Microsoft.TeamFoundation.VersionControl.Client.GetFilterCallback
A delegate to be called before the operations are processed.
- userData
Type: System.Object
An object to pass to the delegate when it is called.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.GetStatus
A GetStatus object describing the number of operations, conflicts, errors, etc. that occurred while processing the Get operation.
Remarks
The filtering delegate allows the caller to discard operations before they are processed by setting the Ignore property on each operation to be discarded.
.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.