VssNetworkHelper.IsTransientNetworkException 메서드 (Exception, Nullable<HttpStatusCode>%, Nullable<WebExceptionStatus>%, Nullable<SocketError>%)
네임스페이스: Microsoft.VisualStudio.Services.Common
어셈블리: Microsoft.VisualStudio.Services.Common(Microsoft.VisualStudio.Services.Common.dll)
구문
‘선언
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
)
매개 변수
- ex
형식: System.Exception
- httpStatusCode
형식: System.Nullable<HttpStatusCode>%
- webExceptionStatus
형식: System.Nullable<WebExceptionStatus>%
- socketErrorCode
형식: System.Nullable<SocketError>%
반환 값
형식: System.Boolean
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.