This constructor is used to instantiate a CRegistration object from existing data in the database.

Namespace:  Asi.iBO.Events
Assembly:  Asi.iBO (in Asi.iBO.dll) Version: 15.1.2.0

Syntax

C#
public CRegistration(
	IiMISUser user,
	string eventCode,
	string registrantContactId
)
Visual Basic (Declaration)
Public Sub New ( _
	user As IiMISUser, _
	eventCode As String, _
	registrantContactId As String _
)
Visual C++
public:
CRegistration(
	IiMISUser^ user, 
	String^ eventCode, 
	String^ registrantContactId
)

Parameters

user
Type: Asi.iBO..::.IiMISUser
The IiMISUser object providing the security credentials of the logged in user.
eventCode
Type: System..::.String
The identifier of the associated event.
registrantContactId
Type: System..::.String
The identifier of the contact person for this registration.

Exceptions

ExceptionCondition
Asi.iBO..::.ObjectNotFoundException thrown if the registrantContactId does not correspond to a contact in the database.
Asi.iBO..::.NotLicensedException thrown if there is no license for events.

See Also