共用方式為


SecurityHttpClient.SetInheritFlagAsync 方法

命名空間:  Microsoft.VisualStudio.Services.Security.Client
組件:  Microsoft.VisualStudio.Services.WebApi (在 Microsoft.VisualStudio.Services.WebApi.dll 中)

語法

'宣告
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
)

參數

傳回值

類型:System.Threading.Tasks.Task<HttpResponseMessage>

.NET Framework 安全性

請參閱

參考

SecurityHttpClient 類別

Microsoft.VisualStudio.Services.Security.Client 命名空間