共用方式為


ApplicationContext Members

Include Protected Members
Include Inherited Members

Encapsulates the Silverlight application context information.

The ApplicationContext type exposes the following members.

Properties

  Name Description
Public propertyStatic member Current Gets the current Silverlight application context.
Public property FormDigest Gets the form digest value.
Public property FormDigestExpiration Gets the form digest expiration in Coordinated Universal Time (UTC).
Public property RequestToken Gets the request token that contains information, such as the ID of the user who navigated to the page containing the Web Part, which will enable the Web application to determine which effective permissions to grant to the Silverlight application.
Public property Url Gets the URL of the SharePoint server.
Public property ViaUrl Gets the URL of another server that will forward the request to the SharePoint server.

Top

Methods

  Name Description
Public method GetRequestUrl Gets the request URL using the ViaUrl property, if it is available.
Public methodStatic member Init(IDictionary<String, String>) Initializes the application context information with the specified parameters that are passed to the Silverlight application.
Public methodStatic member Init(IDictionary<String, String>, SynchronizationContext) Initializes the application context with the specified parameters that are passed to the Silverlight application.
Public method ToString (Inherited from Object.)

Top

See Also

Reference

ApplicationContext Class

Microsoft.SharePoint.Client Namespace