Windows.Foundation Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enables fundamental Windows Runtime functionality, including managing asynchronous operations and accessing property stores. This namespace also defines common value types that represent Uniform Resource Identifier (URI), dates and times, 2-D measurements, and other basic values.
Classes
Deferral |
Stores a DeferralCompletedHandler to be invoked upon completion of the deferral and manipulates the state of the deferral. |
GuidHelper |
A class containing static helper methods for working with the Guid type. |
MemoryBuffer |
Represents a reference counted memory buffer. |
PropertyValue |
Represents a value in a property store (such as a PropertySet instance). |
Uri |
Defines an object that represents a Uniform Resource Identifier (URI) value and parses it into components. The Uri object is used by many other Windows Runtime APIs that are not necessarily confined to web browser scenarios.
|
WwwFormUrlDecoder |
Parses a URL query string, and exposes the results as a read-only vector (list) of name-value pairs from the query string. |
WwwFormUrlDecoderEntry |
Represents a name-value pair in a URL query string. Use the IWwwFormUrlDecoderEntry interface instead; see Remarks. |
Structs
DateTime |
Represents an instant in time, typically expressed as a date and time of day.
|
EventRegistrationToken |
Represents a reference to a delegate that receives change notifications.
|
HResult |
Represents a Windows Runtime error.
|
Point |
Represents x- and y-coordinate values that define a point in a two-dimensional plane. |
Rect |
Contains number values that represent the location and size of a rectangle. |
Size |
Represents number values that specify a height and width. |
TimeSpan |
Represents a time interval as a signed 64-bit integer value.
TimeSpan is used in the Adaptive streaming sample app. |
Interfaces
IAsyncAction |
Represents an asynchronous action. This is the return type for many Windows Runtime (WinRT) asynchronous methods that don't have a result object, and don't report ongoing progress. |
IAsyncActionWithProgress<TProgress> |
Represents an asynchronous action that can report progress updates to callers. This is the return type for all Windows Runtime asynchronous methods that don't have a result object, but do report progress to callback listeners. |
IAsyncInfo |
Supports asynchronous actions and operations. IAsyncInfo is a base interface for IAsyncAction, IAsyncActionWithProgress<TProgress>, IAsyncOperation<TResult> and IAsyncOperationWithProgress<TResult,TProgress>, each of which support combinations of return type and progress for an asynchronous method. |
IAsyncOperation<TResult> |
Represents an asynchronous operation, which returns a result upon completion. This is the return type for many Windows Runtime (WinRT) asynchronous methods that have results but don't report progress. |
IAsyncOperationWithProgress<TResult,TProgress> |
Represents an asynchronous operation that can report progress updates to callers. This is the return type for many Windows Runtime asynchronous methods that have results and also report progress. |
IClosable |
Defines a method to release allocated resources.
|
IGetActivationFactory |
Defines the implementation for a type that retrieves activation factories. |
IMemoryBuffer |
Represents a reference counted memory buffer. |
IMemoryBufferReference |
Represents a reference to an IMemoryBuffer object. |
IPropertyValue |
Represents a value in a property store. You can't implement this interface, see Remarks. |
IReference<T> |
Enables arbitrary enumerations, structures, and delegate types to be used as property values.
|
IReferenceArray<T> |
Enables arbitrary enumerations, structures, and delegate types to be used as an array of property values. You can't implement this interface, see Remarks. |
IStringable |
Provides a way to represent the current object as a string. |
IWwwFormUrlDecoderEntry |
Represents a name-value pair in a URL query string. |
Enums
AsyncStatus |
Specifies the status of an asynchronous operation. |
PropertyType |
Specifies property value types. |
Delegates
AsyncActionCompletedHandler |
Represents a method that handles the completed event of an asynchronous action. |
AsyncActionProgressHandler<TProgress> |
Represents a method that handles progress update events of an asynchronous action that provides progress updates. |
AsyncActionWithProgressCompletedHandler<TProgress> |
Represents a method that handles the completed event of an asynchronous action that provides progress updates. |
AsyncOperationCompletedHandler<TResult> |
Represents a method that handles the completed event of an asynchronous operation. |
AsyncOperationProgressHandler<TResult,TProgress> |
Represents a method that handles progress update events of an asynchronous operation that provides progress updates. |
AsyncOperationWithProgressCompletedHandler<TResult,TProgress> |
Represents a method that handles the completed event of an asynchronous operation that provides progress updates. |
DeferralCompletedHandler |
Represents a method that handles the completed event of a deferred action. |
EventHandler<T> |
Represents a method that handles general events.
|
TypedEventHandler<TSender,TResult> |
Represents a method that handles general events. |