PendingChange.DownloadShelvedFile Method
Downloads the shelved content for this pending change.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaração
Public Sub DownloadShelvedFile ( _
localFileName As String _
)
public void DownloadShelvedFile(
string localFileName
)
public:
void DownloadShelvedFile(
String^ localFileName
)
member DownloadShelvedFile :
localFileName:string -> unit
public function DownloadShelvedFile(
localFileName : String
)
Parameters
- localFileName
Type: System.String
Local file in which to save the downloaded file contents.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException |
Remarks
Throws an InvalidOperationException if this is not a shelved pending change.
.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.