共用方式為


SP.ClientRuntimeContext Properties

Applies to: SharePoint Foundation 2010

The following table lists the properties of the SP.ClientRuntimeContext class.

Properties

Name

Description

applicationName

Gets or sets the name of the runtime where the current client application is located.

hasPendingRequest

Gets the flag that indicates whether the client context has the SP.ClientRequest Class to be sent to the server.

pendingRequest

Gets the SP.ClientRequest Class object that is sent to the server when the next SP.ClientRuntimeContext.executeQueryAsync(succeededCallback, failedCallback) Method is executed.

serverLibraryVersion

Gets the build version of Microsoft.SharePoint.Client.ServerRuntime.dll on the server.

serverSchemaVersion

Gets the schema version of Microsoft.SharePoint.Client.ServerRuntime.dll on the server.

staticObjects

This member is reserved for internal use and is not intended to be used directly from your code.

url

Gets the URL associated with the runtime context.

Applies To

SP.ClientRuntimeContext Class

See Also

Reference

SP.ClientRuntimeContext Methods

SP Namespace