Share via


TeamFoundationRequestContext.GetReplicaAwareService<T> Method

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Overridable Function GetReplicaAwareService(Of T As {Class, New, ITeamFoundationReplicaAwareService}) As T
public virtual T GetReplicaAwareService<T>()
where T : class, new(), ITeamFoundationReplicaAwareService
public:
generic<typename T>
where T : ref class, gcnew(), ITeamFoundationReplicaAwareService 
virtual T GetReplicaAwareService()
abstract GetReplicaAwareService : unit -> 'T  when 'T : not struct, new() and ITeamFoundationReplicaAwareService 
override GetReplicaAwareService : unit -> 'T  when 'T : not struct, new() and ITeamFoundationReplicaAwareService
JScript does not support generic types or methods.

Type Parameters

  • T

Return Value

Type: T

.NET Framework Security

See Also

Reference

TeamFoundationRequestContext Class

Microsoft.TeamFoundation.Framework.Server Namespace