Compartilhar via


Hold.RegisterCustomHoldProcessor Method

Registers custom hold handler on the specified web application.

Namespace:  Microsoft.Office.RecordsManagement.Holds
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

Syntax

'Declaration
Public Shared Sub RegisterCustomHoldProcessor ( _
    strAssembly As String, _
    strClass As String, _
    webApp As SPWebApplication _
)
'Usage
Dim strAssembly As String
Dim strClass As String
Dim webApp As SPWebApplicationHold.RegisterCustomHoldProcessor(strAssembly, _
    strClass, webApp)
public static void RegisterCustomHoldProcessor(
    string strAssembly,
    string strClass,
    SPWebApplication webApp
)

Parameters

  • strAssembly
    Type: System.String

    Strong name of the assembly containing the custom hold processor.

  • strClass
    Type: System.String

    Full class name of the custom hold handler.

See Also

Reference

Hold Class

Hold Members

Microsoft.Office.RecordsManagement.Holds Namespace