你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MediaErrorDetectionStrategy.IsRetriableHttpStatusCode 方法

定义

重载

IsRetriableHttpStatusCode(Int32, Boolean, Boolean)
IsRetriableHttpStatusCode(HttpStatusCode, Boolean, Boolean)

IsRetriableHttpStatusCode(Int32, Boolean, Boolean)

protected bool IsRetriableHttpStatusCode (int statusCode, bool operationIdempotentOnRetry, bool retryOnUnauthorizedErrors);
member this.IsRetriableHttpStatusCode : int * bool * bool -> bool
Protected Function IsRetriableHttpStatusCode (statusCode As Integer, operationIdempotentOnRetry As Boolean, retryOnUnauthorizedErrors As Boolean) As Boolean

参数

statusCode
Int32
operationIdempotentOnRetry
Boolean
retryOnUnauthorizedErrors
Boolean

返回

适用于

IsRetriableHttpStatusCode(HttpStatusCode, Boolean, Boolean)

protected bool IsRetriableHttpStatusCode (System.Net.HttpStatusCode statusCode, bool operationIdempotentOnRetry, bool retryOnUnauthorizedErrors);
member this.IsRetriableHttpStatusCode : System.Net.HttpStatusCode * bool * bool -> bool
Protected Function IsRetriableHttpStatusCode (statusCode As HttpStatusCode, operationIdempotentOnRetry As Boolean, retryOnUnauthorizedErrors As Boolean) As Boolean

参数

statusCode
HttpStatusCode
operationIdempotentOnRetry
Boolean
retryOnUnauthorizedErrors
Boolean

返回

适用于