Shelveset Constructor

Initializes a Shelveset object for shelving changes.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    sourceControl As VersionControlServer, _
    name As String, _
    owner As String _
)
'Usage
Dim sourceControl As VersionControlServer 
Dim name As String 
Dim owner As String 

Dim instance As New Shelveset(sourceControl, _
    name, owner)
public Shelveset(
    VersionControlServer sourceControl,
    string name,
    string owner
)
public:
Shelveset(
    VersionControlServer^ sourceControl, 
    String^ name, 
    String^ owner
)
public function Shelveset(
    sourceControl : VersionControlServer, 
    name : String, 
    owner : String
)

Parameters

Exceptions

Exception Condition
[InvalidShelvesetName]

Thrown when the shelveset is not a valid name.

.NET Framework Security

See Also

Reference

Shelveset Class

Shelveset Members

Microsoft.TeamFoundation.VersionControl.Client Namespace