SharePointConnectionException Class

 

The exception that is thrown when an attempt to connect to the local SharePoint site fails.

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

System.Object
  System.Exception
    Microsoft.VisualStudio.SharePoint.SharePointConnectionException
      Microsoft.VisualStudio.SharePoint.SharePointConnectionDisabledException

[SerializableAttribute]
public class SharePointConnectionException : Exception

NameDescription
System_CAPS_pubmethodSharePointConnectionException()

Initializes a new instance of the SharePointConnectionException class.

System_CAPS_protmethodSharePointConnectionException(SerializationInfo, StreamingContext)

Initializes a new instance of the SharePointConnectionException class.

System_CAPS_pubmethodSharePointConnectionException(String)

Initializes a new instance of the SharePointConnectionException class.

System_CAPS_pubmethodSharePointConnectionException(String, Exception)

Initializes a new instance of the SharePointConnectionException class.

NameDescription
System_CAPS_pubpropertyData

(Inherited from Exception.)

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.)

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.)

This exception is usually raised by one of the following conditions:

  • Microsoft SharePoint Server 2010 or Microsoft SharePoint Foundation 2010 is not installed on the computer.

  • The local instance of Microsoft SharePoint Server 2010 or Microsoft SharePoint Foundation 2010 is not running.

  • The current user does not have the appropriate permissions in SharePoint. For more information, see Requirements for Developing SharePoint Solutions.

  • Visual Studio is not run with administrator privileges, or the current user is not an administrator on the local system.

  • The .NET Framework 3.5 SP1 is not installed on the computer.

  • The site URL of the project is invalid.

  • An internal communication error has occurred.

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: