ConnectionData Constructor
Constructs a new data transfer class.
Namespace: Microsoft.TeamFoundation.Server.Core.Location
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Sub New ( _
instanceId As Guid, _
catalogResourceId As Guid, _
authenticatedUser As TeamFoundationIdentity, _
authorizedUser As TeamFoundationIdentity, _
webApplicationRelativeDirectory As String, _
locationServiceData As LocationServiceData, _
serverCapabilities As ServerCapabilities _
)
public ConnectionData(
Guid instanceId,
Guid catalogResourceId,
TeamFoundationIdentity authenticatedUser,
TeamFoundationIdentity authorizedUser,
string webApplicationRelativeDirectory,
LocationServiceData locationServiceData,
ServerCapabilities serverCapabilities
)
public:
ConnectionData(
Guid instanceId,
Guid catalogResourceId,
TeamFoundationIdentity^ authenticatedUser,
TeamFoundationIdentity^ authorizedUser,
String^ webApplicationRelativeDirectory,
LocationServiceData^ locationServiceData,
ServerCapabilities serverCapabilities
)
new :
instanceId:Guid *
catalogResourceId:Guid *
authenticatedUser:TeamFoundationIdentity *
authorizedUser:TeamFoundationIdentity *
webApplicationRelativeDirectory:string *
locationServiceData:LocationServiceData *
serverCapabilities:ServerCapabilities -> ConnectionData
public function ConnectionData(
instanceId : Guid,
catalogResourceId : Guid,
authenticatedUser : TeamFoundationIdentity,
authorizedUser : TeamFoundationIdentity,
webApplicationRelativeDirectory : String,
locationServiceData : LocationServiceData,
serverCapabilities : ServerCapabilities
)
Parameters
instanceId
Type: System.GuidThe instance id for this server.
catalogResourceId
Type: System.GuidThe resource id for this servers catalog entry.
authenticatedUser
Type: Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentityThe identity for the authenticated user.
authorizedUser
Type: Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentityThe identity for the authorized user (this may not be the authenticated identity if the request is not impersonated).
webApplicationRelativeDirectory
Type: System.StringThe location of the application relative to the site.
locationServiceData
Type: Microsoft.TeamFoundation.Server.Core.Location.LocationServiceDataData that the location service holds.
- serverCapabilities
Type: Microsoft.TeamFoundation.Server.Core.Location.ServerCapabilities
.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.