SecurityHttpClient.SetInheritFlagAsync Method
Namespace: Microsoft.VisualStudio.Services.Security.Client
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Function SetInheritFlagAsync ( _
securityNamespaceId As Guid, _
token As String, _
inherit As Boolean, _
userState As Object _
) As Task(Of HttpResponseMessage)
public Task<HttpResponseMessage> SetInheritFlagAsync(
Guid securityNamespaceId,
string token,
bool inherit,
Object userState
)
public:
Task<HttpResponseMessage^>^ SetInheritFlagAsync(
Guid securityNamespaceId,
String^ token,
bool inherit,
Object^ userState
)
member SetInheritFlagAsync :
securityNamespaceId:Guid *
token:string *
inherit:bool *
userState:Object -> Task<HttpResponseMessage>
public function SetInheritFlagAsync(
securityNamespaceId : Guid,
token : String,
inherit : boolean,
userState : Object
) : Task<HttpResponseMessage>
Parameters
- securityNamespaceId
Type: System.Guid
- token
Type: System.String
- inherit
Type: System.Boolean
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<HttpResponseMessage>
.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.