RuntimeClass.Register Method
Starts the Business Connectivity Services Client Runtime interpretation of the solution configuration file.
Namespace: Microsoft.Office.BusinessApplications.Runtime
Assembly: Microsoft.Office.BusinessApplications.Runtime (in Microsoft.Office.BusinessApplications.Runtime.dll)
Syntax
'Declaration
Public Sub Register ( _
solutionManifestFileName As String, _
runtimeCallback As IRuntimeCallback, _
application As Object _
)
'Usage
Dim instance As RuntimeClass
Dim solutionManifestFileName As String
Dim runtimeCallback As IRuntimeCallback
Dim application As Object
instance.Register(solutionManifestFileName, _
runtimeCallback, application)
public void Register(
string solutionManifestFileName,
IRuntimeCallback runtimeCallback,
Object application
)
Parameters
- solutionManifestFileName
Type: System.String
The full path to the solution configuration file.
- runtimeCallback
Type: Microsoft.Office.BusinessApplications.Runtime.IRuntimeCallback
The callback interface that the caller expects to be called when registration is complete.
- application
Type: System.Object
The Microsoft Outlook 2010 application object.
Remarks
It is recommended that this method is called as part of the add-in startup operation.
This call is asynchronous and when registration is completed it will call the callback interface that is provided. Note that you should call GetOfficeItemHelper(Object, OfficeItemType) only after registration completes.