Condividi tramite


SPHttpApplication.Init Method

Ensures that otherwise unhandled exceptions that occur when one of the other methods of SPHttpApplication is called are logged to the Universal Logging Service.

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

Syntax

<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Sub Init

Dim instance As SPHttpApplication

instance.Init()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override void Init()

Remarks

Call this method before calling any other SPHttpApplication method.

See Also

Reference

SPHttpApplication Class

SPHttpApplication Members

Microsoft.SharePoint.ApplicationRuntime Namespace