This constructor is used to instantiate a CRegistration object from existing data in the database.
Namespace: Asi.iBO.EventsAssembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0
Syntax
| C# |
|---|
public CRegistration( IiMISUser user, string eventCode, string registrantContactId ) |
| Visual Basic |
|---|
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
| Exception | Condition |
|---|---|
| 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. |