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