Share via


RequestContextValidator.Validate Method

Validate request context and ensure that its Service host is the same as the one provided

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

Syntax

'Declaration
Public Shared Sub Validate ( _
    requestContext As TeamFoundationRequestContext, _
    serviceHostId As Guid, _
    service As ITeamFoundationService _
)
public static void Validate(
    TeamFoundationRequestContext requestContext,
    Guid serviceHostId,
    ITeamFoundationService service
)
public:
static void Validate(
    TeamFoundationRequestContext^ requestContext, 
    Guid serviceHostId, 
    ITeamFoundationService^ service
)
static member Validate : 
        requestContext:TeamFoundationRequestContext * 
        serviceHostId:Guid * 
        service:ITeamFoundationService -> unit
public static function Validate(
    requestContext : TeamFoundationRequestContext, 
    serviceHostId : Guid, 
    service : ITeamFoundationService
)

Parameters

Remarks

Used within service calls. Ensures service calls originate within the same host that started the service

.NET Framework Security

See Also

Reference

RequestContextValidator Class

Microsoft.TeamFoundation.Framework.Server Namespace