共用方式為


INotificationFilter.RemoveRestrictedContent Method

RemoveRestrictedContent is used by the filter to make sure that users are not given content they are not authorized to see.

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

Syntax

'Declaration
Sub RemoveRestrictedContent ( _
    requestContext As TeamFoundationRequestContext, _
    source As String, _
    userIdentities As TeamFoundationIdentity(), _
    eventCopy As XmlDocument, _
    <OutAttribute> ByRef restrictions As Restriction() _
)
void RemoveRestrictedContent(
    TeamFoundationRequestContext requestContext,
    string source,
    TeamFoundationIdentity[] userIdentities,
    XmlDocument eventCopy,
    out Restriction[] restrictions
)
void RemoveRestrictedContent(
    TeamFoundationRequestContext^ requestContext, 
    String^ source, 
    array<TeamFoundationIdentity^>^ userIdentities, 
    XmlDocument^ eventCopy, 
    [OutAttribute] array<Restriction^>^% restrictions
)
abstract RemoveRestrictedContent : 
        requestContext:TeamFoundationRequestContext * 
        source:string * 
        userIdentities:TeamFoundationIdentity[] * 
        eventCopy:XmlDocument * 
        restrictions:Restriction[] byref -> unit
function RemoveRestrictedContent(
    requestContext : TeamFoundationRequestContext, 
    source : String, 
    userIdentities : TeamFoundationIdentity[], 
    eventCopy : XmlDocument, 
    restrictions : Restriction[]
)

Parameters

.NET Framework Security

See Also

Reference

INotificationFilter Interface

Microsoft.TeamFoundation.Server.Core Namespace