Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
BeginRequest is called after TFS has determined which site/host the request is targeting and verified that it is processing requests.
A call to BeginRequest is not guaranteed for all requests.
An ITeamFoundationRequestFilter can throw a RequestFilterException in BeginRequest to cause the request to be completed early and an error message to be returned to the caller.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Sub BeginRequest ( _
requestContext As TeamFoundationRequestContext _
)
void BeginRequest(
TeamFoundationRequestContext requestContext
)
void BeginRequest(
TeamFoundationRequestContext^ requestContext
)
abstract BeginRequest :
requestContext:TeamFoundationRequestContext -> unit
function BeginRequest(
requestContext : TeamFoundationRequestContext
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextRequestContext being used to execute this request
.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.