ISecurityChangedEventHandler.ValidInHostContext Method
Should return true if this handler is valid in this context.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Function ValidInHostContext ( _
requestContext As TeamFoundationRequestContext, _
hostType As TeamFoundationHostType _
) As Boolean
bool ValidInHostContext(
TeamFoundationRequestContext requestContext,
TeamFoundationHostType hostType
)
bool ValidInHostContext(
TeamFoundationRequestContext^ requestContext,
TeamFoundationHostType hostType
)
abstract ValidInHostContext :
requestContext:TeamFoundationRequestContext *
hostType:TeamFoundationHostType -> bool
function ValidInHostContext(
requestContext : TeamFoundationRequestContext,
hostType : TeamFoundationHostType
) : boolean
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
Return Value
Type: System.Boolean
True if this event handler is valid in the current context (application vs. collection).
.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.