FollowedContentException FollowedContentException FollowedContentException Class

Definition

Represents an exception for a Following operation.

public ref class FollowedContentException : Microsoft::SharePoint::SPException
public class FollowedContentException : Microsoft.SharePoint.SPException
Public Class FollowedContentException
Inherits SPException
Inheritance
FollowedContentExceptionFollowedContentExceptionFollowedContentException

Remarks

Values for the ErrorCode property of the FollowedContentException are shown in the following table.

ItemAlreadyExists = 3The item is already followed.
ItemDoesNotExist = 4The item does not exist or is not currently followed.
InvalidQueryString = 5An invalid query string was provided.
InvalidSubtypeValue = 6An invalid subtype value was provided.
UnsupportedItemType = 7The item is not supported.
FollowLimitReached = 8The user has reached the maximum number of followed items for an item type.
UntrustedSource = 9A protected server-to-server API was called from a non-server context (for example, from a client application).
UnsupportedSite = 10The site template is not supported (for example, My Site Host or personal sites).
InternalError = 11An internal error occurred. See the ULS logs for more information.

Constructors

FollowedContentException(FollowedContentExceptionCode, String) FollowedContentException(FollowedContentExceptionCode, String) FollowedContentException(FollowedContentExceptionCode, String)
FollowedContentException(SerializationInfo, StreamingContext) FollowedContentException(SerializationInfo, StreamingContext) FollowedContentException(SerializationInfo, StreamingContext)

Properties

ErrorCode ErrorCode ErrorCode Inherited from SPException
NativeErrorMessage NativeErrorMessage NativeErrorMessage Inherited from SPException
NativeStackTrace NativeStackTrace NativeStackTrace Inherited from SPException

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) Inherited from SPException

Applies to