次の方法で共有


SPSafeThread.CodeToRun delegate

Delegate for SPSafeThread used to run background threads to handle any exception that might be thrown. An exception caught is logged and the thread is discontinued without affecting the calling process.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Delegate Sub CodeToRun
'Usage
Dim instance As New CodeToRun(AddressOf HandlerMethod)
public delegate void CodeToRun()

See also

Reference

Microsoft.SharePoint.Utilities namespace