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.
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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- serviceHostId
Type: System.Guid
Remarks
Used within service calls. Ensures service calls originate within the same host that started the service
.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.