ServiceDefinition Constructor
Creates a ServiceDefinition based on the information supplied.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Sub New ( _
serviceType As String, _
identifier As Guid, _
displayName As String, _
relativePath As String, _
relativeToSetting As RelativeToSetting, _
description As String, _
toolType As String _
)
public ServiceDefinition(
string serviceType,
Guid identifier,
string displayName,
string relativePath,
RelativeToSetting relativeToSetting,
string description,
string toolType
)
public:
ServiceDefinition(
String^ serviceType,
Guid identifier,
String^ displayName,
String^ relativePath,
RelativeToSetting relativeToSetting,
String^ description,
String^ toolType
)
new :
serviceType:string *
identifier:Guid *
displayName:string *
relativePath:string *
relativeToSetting:RelativeToSetting *
description:string *
toolType:string -> ServiceDefinition
public function ServiceDefinition(
serviceType : String,
identifier : Guid,
displayName : String,
relativePath : String,
relativeToSetting : RelativeToSetting,
description : String,
toolType : String
)
Parameters
serviceType
Type: System.StringThe service type for this ServiceDefinition.
identifier
Type: System.GuidThe identifier for this ServiceDefinition.
displayName
Type: System.StringThe display name for this ServiceDefinition.
relativePath
Type: System.StringThe relative path for this ServiceDefinition.
relativeToSetting
Type: Microsoft.TeamFoundation.Framework.Common.RelativeToSettingThe relativeToSetting for this ServiceDefinition.
description
Type: System.StringThe description for this ServiceDefinition.
toolType
Type: System.StringThe tool type for this ServiceDefinition
.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.