다음을 통해 공유


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

  • assemblyName
    Type: System.String

    Name of the assembly containing the implementation of the ICustomRouter interface.

  • className
    Type: System.String

    Name 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

EcmDocumentRoutingWeb Class

EcmDocumentRoutingWeb Members

Microsoft.Office.RecordsManagement.RecordsRepository Namespace

ICustomRouter

CustomRouter

Router