Compartir a través de


VssNetworkHelper.IsTransientNetworkException (Método) (Exception, Nullable<HttpStatusCode>%, Nullable<WebExceptionStatus>%, Nullable<SocketError>%)

Espacio de nombres:  Microsoft.VisualStudio.Services.Common
Ensamblado:  Microsoft.VisualStudio.Services.Common (en Microsoft.VisualStudio.Services.Common.dll)

Sintaxis

'Declaración
Public Shared Function IsTransientNetworkException ( _
    ex As Exception, _
    <OutAttribute> ByRef httpStatusCode As Nullable(Of HttpStatusCode), _
    <OutAttribute> ByRef webExceptionStatus As Nullable(Of WebExceptionStatus), _
    <OutAttribute> ByRef socketErrorCode As Nullable(Of SocketError) _
) As Boolean
public static bool IsTransientNetworkException(
    Exception ex,
    out Nullable<HttpStatusCode> httpStatusCode,
    out Nullable<WebExceptionStatus> webExceptionStatus,
    out Nullable<SocketError> socketErrorCode
)

Parámetros

Valor devuelto

Tipo: System.Boolean

Seguridad de .NET Framework

Vea también

Referencia

VssNetworkHelper Clase

IsTransientNetworkException (Sobrecarga)

Microsoft.VisualStudio.Services.Common (Espacio de nombres)