CSDocumentInformation Constructor (ConnectionId, SessionId, DocumentId) Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Creates a new instance of the Document class, prepares for content to be loaded, but does not load any content.

Namespace: ContentStudio.Document
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)

protected CSDocumentInformation(
	ConnectionId connectionId,
	SessionId sessionId,
	DocumentId documentId


Type: ContentStudioConnectionId
A value that identifies the web site
Type: ContentStudio.SecuritySessionId
A value that identifies the user's session. This value usually originates from a call to OpenSession(ConnectionId).
Type: ContentStudio.DocumentDocumentId
A document to initialize, This document must exist.

CSExceptionA business rule was violated in the underlying Content Studio database
CSPermissionDeniedExceptionThe caller has no permission to perform the requested action
CSInvalidSessionExceptionThe session is invalid
CSDocumentNotFoundExceptionThe document could not be found
SqlExceptionAn error occurred when executing the command against the Content Studio database
Content Studio permissions

READ permission on the category is required.

Inheriting classes uses this constructor to initialize the ConnectionID, SessionID, DocumentID, DocumentName and the DocumentType properties. After this call the implementer should re-load the document's data with the Load(CSDocumentInformationContentToLoad) method.
See Also