SharePointConnectionException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The exception that is thrown when an attempt to connect to the local SharePoint site fails.
public ref class SharePointConnectionException : Exception
[System.Serializable]
public class SharePointConnectionException : Exception
[<System.Serializable>]
type SharePointConnectionException = class
inherit Exception
Public Class SharePointConnectionException
Inherits Exception
- Inheritance
-
SharePointConnectionException
- Derived
- Attributes
Remarks
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.
Constructors
SharePointConnectionException() |
Initializes a new instance of the SharePointConnectionException class. |
SharePointConnectionException(SerializationInfo, StreamingContext) |
Initializes a new instance of the SharePointConnectionException class. |
SharePointConnectionException(String, Exception) |
Initializes a new instance of the SharePointConnectionException class. |
SharePointConnectionException(String) |
Initializes a new instance of the SharePointConnectionException class. |