TeamFoundationHostManagementService.BeginRequest Method
Returns a [RequestContextBase] targeted at the given instance.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function BeginRequest ( _
requestContext As TeamFoundationRequestContext, _
instanceId As Guid, _
contextType As RequestContextType, _
loadIfNecessary As Boolean, _
throwIfShutdown As Boolean, _
userContext As IdentityDescriptor _
) As TeamFoundationRequestContext
public TeamFoundationRequestContext BeginRequest(
TeamFoundationRequestContext requestContext,
Guid instanceId,
RequestContextType contextType,
bool loadIfNecessary,
bool throwIfShutdown,
IdentityDescriptor userContext
)
public:
TeamFoundationRequestContext^ BeginRequest(
TeamFoundationRequestContext^ requestContext,
Guid instanceId,
RequestContextType contextType,
bool loadIfNecessary,
bool throwIfShutdown,
IdentityDescriptor^ userContext
)
member BeginRequest :
requestContext:TeamFoundationRequestContext *
instanceId:Guid *
contextType:RequestContextType *
loadIfNecessary:bool *
throwIfShutdown:bool *
userContext:IdentityDescriptor -> TeamFoundationRequestContext
public function BeginRequest(
requestContext : TeamFoundationRequestContext,
instanceId : Guid,
contextType : RequestContextType,
loadIfNecessary : boolean,
throwIfShutdown : boolean,
userContext : IdentityDescriptor
) : TeamFoundationRequestContext
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- instanceId
Type: System.Guid
- contextType
Type: Microsoft.TeamFoundation.Framework.Server.RequestContextType
- loadIfNecessary
Type: System.Boolean
- throwIfShutdown
Type: System.Boolean
- userContext
Type: Microsoft.TeamFoundation.Framework.Server.IdentityDescriptor
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
.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.