ProxyCredentialsRequiredException Class

 

Exception thrown from the IVsExtensionRepository method when a web service call requires proxy authentication.

Namespace:   Microsoft.VisualStudio.ExtensionManager
Assembly:  Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)

System.Object
  System.Exception
    Microsoft.VisualStudio.ExtensionManager.ExtensionManagerException
      Microsoft.VisualStudio.ExtensionManager.ProxyCredentialsRequiredException

public class ProxyCredentialsRequiredException : ExtensionManagerException

NameDescription
System_CAPS_pubmethodProxyCredentialsRequiredException(String)

Creates a ProxyCredentialsRequiredException object, and specifies the URL that requires credentials.

System_CAPS_pubmethodProxyCredentialsRequiredException(String, String)

Creates a ProxyCredentialsRequiredException object, and specifies the URL that requires credentials and an error message.

System_CAPS_pubmethodProxyCredentialsRequiredException(String, String, Exception)

Creates a ProxyCredentialsRequiredException object, specifies the URL that requires credentials and an error message, and exposes the inner exception.

NameDescription
System_CAPS_pubpropertyData

(Inherited from Exception.)

System_CAPS_pubpropertyErrorCode
System_CAPS_pubpropertyHelpLink

(Inherited from Exception.)

System_CAPS_pubpropertyHResult

(Inherited from Exception.)

System_CAPS_pubpropertyInnerException

(Inherited from Exception.)

System_CAPS_pubpropertyMessage

(Inherited from Exception.)

System_CAPS_pubpropertySource

(Inherited from Exception.)

System_CAPS_pubpropertyStackTrace

(Inherited from Exception.)

System_CAPS_pubpropertyTargetSite

(Inherited from Exception.)

System_CAPS_pubpropertyUrl

The URL that requires credentials.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo, StreamingContext)

(Inherited from Exception.)

System_CAPS_pubmethodGetType()

(Inherited from Exception.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Exception.)

NameDescription
System_CAPS_proteventSerializeObjectState

(Inherited from Exception.)

Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.

The caller of the method that threw this exception is responsible for catching it and calling PrepareWebProxy with the Url property of this exception as a parameter.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: