ClientRuntimeContext methods

The ClientRuntimeContext type exposes the following members.

Methods

  Name Description
Public methodStatic member AddClientTypeAssembly Stores the client library type of the calling assembly.
Public method AddQuery This member is reserved for internal use and is not intended to be used directly from your code.
Public method AddQueryIdAndResultObject This member is reserved for internal use and is not intended to be used directly from your code.
Public method CastTo<T> Casts a specified client object to its derived type.
Public method Dispose() Disposes of the runtime context.
Protected method Dispose(Boolean) Disposes of the runtime context depending on the specified Boolean value.
Public method ExecuteQuery Executes the current set of data retrieval queries and method invocations.
Public method ExecuteQueryAsync
Public method Load<T>
Public method 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.
Public method LoadQuery<T>(ClientObjectCollection<T>) Retrieves an enumerable sequence of the child client objects from a collection.
Protected method OnExecutingWebRequest Raises the ExecutingWebRequest event.
Public method ParseObjectFromJsonString Parses the specified JavaScript Object Notation (JSON) string and gets an object from it.
Public methodStatic member SetupRequestCredential Associates the authentication information with the specified request.
Public method ToString (Inherited from Object.)

Top

See also

Reference

ClientRuntimeContext class

Microsoft.SharePoint.Client namespace