Click or drag to resize
PollVotingActivityInitializer Constructor
Instantiates new instance of PollVotingActivityInitializer.

Namespace: CMS.Polls
Assembly: CMS.Polls (in CMS.Polls.dll) Version: 12.0.0
Syntax
C#
public PollVotingActivityInitializer(
	PollInfo poll,
	IEnumerable<int> selectedAnswersIDs,
	ITreeNode currentDocument
)

Parameters

poll
Type: CMS.PollsPollInfo
Reference to poll the activity will be initialized for
selectedAnswersIDs
Type: System.Collections.GenericIEnumerableInt32
currentDocument
Type: CMS.BaseITreeNode
Specifies document the activity is logged for
Exceptions
ExceptionCondition
ArgumentNullExceptionpoll is null -or- selectedAnswersIDs is null -or- currentDocument is null
See Also