EcmDocumentRoutingWeb.AddCustomRouter Method
Registers a custom router with the content organizer-enabled site
Namespace: Microsoft.Office.RecordsManagement.RecordsRepository
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Sub AddCustomRouter ( _
routerName As String, _
assemblyName As String, _
className As String _
)
'Usage
Dim instance As EcmDocumentRoutingWeb
Dim routerName As String
Dim assemblyName As String
Dim className As String
instance.AddCustomRouter(routerName, _
assemblyName, className)
public void AddCustomRouter(
string routerName,
string assemblyName,
string className
)
Parameters
routerName
Type: System.StringName of the custom router.
assemblyName
Type: System.StringName of the assembly containing the implementation of the ICustomRouter interface.
className
Type: System.StringName of the class that implements the ICustomRouter interface.
Remarks
Use a custom router to perform custom processing on incoming documents. Custom routers that are already registered with the EcmDocumentRoutingWeb can be specified in rules and will be run on documents matching that rule.
See Also
Reference
Microsoft.Office.RecordsManagement.RecordsRepository Namespace