This documentation is archived and is not being maintained.

RequestContextExtensions Class

Visual Studio 2013

Common extensions to TeamFoundationRequestContext

System::Object
  Microsoft.TeamFoundation.Framework.Server::RequestContextExtensions

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

[ExtensionAttribute]
public ref class RequestContextExtensions abstract sealed

  NameDescription
Public methodStatic memberCreateComponent<TInterface, TComponent>(TeamFoundationRequestContext)Creates a component that can be used to communicate to the current version of the database. Construct via an interface so that it is more trivially mock/stubbable using Fakes.
Public methodStatic memberCreateComponent<TInterface, TComponent>(TeamFoundationRequestContext, String)Creates a component that can be used to communicate to the current version of the database. Construct via an interface so that it is more trivially mock/stubbable using Fakes.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: