ClientRuntimeContext Members
Include Protected Members
Include Inherited Members
Represents the runtime context for accessing data from and invoking methods on remote objects.
The ClientRuntimeContext type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ClientRuntimeContext | Initializes a new instance of the ClientRuntimeContext class with the specified absolute URL. |
Top
Properties
Name | Description | |
---|---|---|
ApplicationName | Gets or sets the name of the runtime where the current client application is located. | |
AuthenticationMode | Gets or sets the authentication mode for the client context. | |
Credentials | Gets or sets the authentication information for the client context. | |
FormsAuthenticationLoginInfo | Gets or sets the login information for the forms authentication mode of the client context. | |
HasPendingRequest | Gets the flag that indicates whether the client context has the ClientRequest to be sent to the server. | |
PendingRequest | Gets the ClientRequest object that is sent to the server when the next ExecuteQuery() is executed. | |
RequestTimeout | Gets or sets the requested time-out value in milliseconds. | |
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. | |
Tag | Gets or sets the object that stores custom data about the client context. | |
Url | Gets the URL associated with the runtime context. | |
ValidateOnClient | Gets or sets the flag that indicates whether the client library needs to validate the method parameters on the client side. | |
WebRequestExecutorFactory | Gets or sets the factory to create the WebRequestExecutor that is used to send the request to and get the response from the server. |
Top
Methods
Name | Description | |
---|---|---|
AddClientTypeAssembly | Stores the client library type of the calling assembly. | |
AddQuery | This member is reserved for internal use and is not intended to be used directly from your code. | |
AddQueryIdAndResultObject | This member is reserved for internal use and is not intended to be used directly from your code. | |
CastTo<T> | Casts a specified client object to its derived type. | |
Dispose() | Disposes of the runtime context. | |
Dispose(Boolean) | Disposes of the runtime context depending on the specified Boolean value. | |
ExecuteQuery | Executes the current set of data retrieval queries and method invocations. | |
ExecuteQueryAsync(ClientRequestSucceededEventHandler, ClientRequestFailedEventHandler) | Executes the current pending request asynchronously on the server. | |
ExecuteQueryAsync(ClientRequest, ClientRequestSucceededEventHandler, ClientRequestFailedEventHandler) | ||
Load<T> | Retrieves the properties of a client object from the server. | |
LoadQuery<T>(IQueryable<T>) | Retrieves an enumerable sequence of the child client objects from a collection that can be the query expression in LINQ syntax. | |
LoadQuery<T>(ClientObjectCollection<T>) | Retrieves an enumerable sequence of the child client objects from a collection. | |
OnExecutingWebRequest | Raises the ExecutingWebRequest event. | |
ParseObjectFromJsonString | Parses the specified JavaScript Object Notation (JSON) string and gets an object from it. | |
SetPendingRequestToBeExecuted | ||
SetupRequestCredential | Associates the authentication information with the specified request. | |
ToString | (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
ExecutingWebRequest | An event that is raised when the Web request is sent to the server. |
Top