BlobHttpResponseParsers.GetLeaseState(HttpResponseMessage) 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.
Extracts the lease state from a web response.
public static Microsoft.Azure.Storage.Blob.LeaseState GetLeaseState (System.Net.Http.HttpResponseMessage response);
static member GetLeaseState : System.Net.Http.HttpResponseMessage -> Microsoft.Azure.Storage.Blob.LeaseState
Public Shared Function GetLeaseState (response As HttpResponseMessage) As LeaseState
Parameters
- response
- HttpResponseMessage
The web response.
Returns
A LeaseState enumeration from the web response.
Exceptions
The header contains an unrecognized value.
Remarks
If the appropriate header is not present, a status of Unspecified is returned.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET