Click or drag to resize
RegisterSharePointServiceFactoryAttribute Constructor
Registers new implementation of ISharePointServiceFactory for given SharePoint version.

Namespace: CMS.SharePoint
Assembly: CMS.SharePoint (in CMS.SharePoint.dll) Version: 9.0.0
Syntax
C#
public RegisterSharePointServiceFactoryAttribute(
	string sharePointVersion,
	Type serviceFactory
)

Parameters

sharePointVersion
Type: SystemString
SharePoint version
serviceFactory
Type: SystemType
Class implementing ISharePointServiceFactory
Exceptions
ExceptionCondition
SharePointServiceFactoryNotSupportedExceptionThrown when serviceFactory does not implement ISharePointServiceFactory.
ArgumentNullExceptionThrown when sharePointVersion is null.
See Also