| PortalSetStateToRegisterForRecurrenceEvent Method |
This method sets the participation status of a participant to Registered for a recurring event.
Namespace: PortalServiceC#
public long SetStateToRegisterForRecurrenceEvent( long eventId, long contactId, ref ParticipantDetails[] participantsList, string paymentTransactionDetails, ref ArrayList recurrEventIds, ref ArrayList recurrParticipantIds, out string error )
Parameters
- eventId
- Type: SystemInt64
[in]The ID of the required event. - contactId
- Type: SystemInt64
[in]The ID of the contact you want to register for the recurring event. - participantsList
- Type: ParticipantDetails
[ref]Array of the ParticipantDetails structure that contains participation details of a contact. - paymentTransactionDetails
- Type: SystemString
[in]For paid events, this parameter stores details of the payment made by the specified contact for registration to the recurring event. - recurrEventIds
- Type: System.CollectionsArrayList
[ref]ArrayList of recurring event IDs. - recurrParticipantIds
- Type: System.CollectionsArrayList
[ref]ArrayList of participant IDs in the event. - error
- Type: SystemString
[out]The error message returned if the operation fails.
Return Value
Type: Int64This method returns 0 if the operation is successful and a negative value if the operation fails.