DataServiceCollection<T>.Load Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Loads entities into the collection.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Load(T) Loads a single entity object into the collection.
Public method Load(IEnumerable<T>) Loads a collection of entity objects into the collection.

Top

Exceptions

Exception Condition
NotSupportedException

When the method is called.

Remarks

This synchronous method is not supported for use in an application for Silverlight. An exception is raised when this method is called in a Silverlight application. Instead, use the LoadAsync method.