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
- 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.