CosmosException.TryGetHeader(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Try to get a header from the cosmos response message
public virtual bool TryGetHeader (string headerName, out string value);
abstract member TryGetHeader : string * string -> bool
override this.TryGetHeader : string * string -> bool
Public Overridable Function TryGetHeader (headerName As String, ByRef value As String) As Boolean
Parameters
- headerName
- String
- value
- String
Returns
A value indicating if the header was read.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET