共用方式為


SPFormDigestSettings Class

Represents the settings that are related to Web page security validation.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPFormDigestSettings

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

Syntax

<GuidAttribute("CBABD173-17C9-4a8f-9EC0-7A2A313ED8ED")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPFormDigestSettings _
    Inherits SPAutoSerializingObject

Dim instance As SPFormDigestSettings
[GuidAttribute("CBABD173-17C9-4a8f-9EC0-7A2A313ED8ED")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPFormDigestSettings : SPAutoSerializingObject

Remarks

The security validation is specific to a user, site, and time period and expires after a configurable amount of time. When the user requests a page, the server returns the page with security validation inserted. When the user then submits the form, the server verifies the security validation and if it has changed, program execution is halted and a security exception is raised.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPFormDigestSettings Members

Microsoft.SharePoint.Administration Namespace