Delen via


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

Return Value

Type: System.Boolean
True if this event handler is valid in the current context (application vs. collection).

.NET Framework Security

See Also

Reference

ISecurityChangedEventHandler Interface

Microsoft.TeamFoundation.Framework.Server Namespace