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.
Allows the implementer to override, block or listen for SetInheritFlag calls.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Function SetInheritFlag ( _
requestContext As TeamFoundationRequestContext, _
notificationType As NotificationType, _
token As String, _
inherit As Boolean _
) As Boolean
bool SetInheritFlag(
TeamFoundationRequestContext requestContext,
NotificationType notificationType,
string token,
bool inherit
)
bool SetInheritFlag(
TeamFoundationRequestContext^ requestContext,
NotificationType notificationType,
String^ token,
bool inherit
)
abstract SetInheritFlag :
requestContext:TeamFoundationRequestContext *
notificationType:NotificationType *
token:string *
inherit:bool -> bool
function SetInheritFlag(
requestContext : TeamFoundationRequestContext,
notificationType : NotificationType,
token : String,
inherit : boolean
) : boolean
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context associated with this call.
notificationType
Type: Microsoft.TeamFoundation.Framework.Server.NotificationTypeThe type of notification that this is.
token
Type: System.StringThe token to set the flag on.
inherit
Type: System.BooleanTrue if the token should inherit permissions from its parent.
Return Value
Type: System.Boolean
True if the operation should continue in the security namespace this notification is coming from.
.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.