HttpBearerChallenge.TryGetValue Method

Returns the value stored at the specified key.

Namespace: Microsoft.KeyVault.Client.Authentication
Assembly: Microsoft.KeyVault.Client (in Microsoft.KeyVault.Client.dll)

Syntax

'Declaration
public bool TryGetValue (
    string key,
    out string val
)

Parameters

  • key
    The key to be retrieved
  • value
    The value for the specified key

Return Value

True when the key is found, false when it is not

Remarks

If the key does not exist, will return false and the content of value will not be changed

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

HttpBearerChallenge Class
HttpBearerChallenge Members
Microsoft.KeyVault.Client.Authentication Namespace