Windows.Foundation namespace

2 out of 3 rated this helpful - Rate this topic

Enables fundamental Windows Runtime functionality, including managing asynchronous operations, accessing property stores, and working with images and Uniform Resource Identifiers (URIs).

Members

The Windows.Foundation namespace has these types of members:

Classes

The Windows.Foundation namespace has these classes.

ClassDescription
PropertyValue Represents a value in a property store.
Uri Parses Uniform Resource Identifier (URI).
WwwFormUrlDecoder Parses a URL query string.

 

Delegates

The Windows.Foundation namespace has these delegates.

DelegateDescription
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.
EventHandler<T> Represents a method that handles general events.
TypedEventHandler<TSender, TResult> Represents a method that handles general events.

 

Enumerations

The Windows.Foundation namespace has these enumerations.

EnumerationDescription
AsyncStatus Specifies the status of an asynchronous operation.
PropertyType Specifies property value types.

 

Interfaces

The Windows.Foundation namespace defines these interfaces.

InterfaceDescription
IAsyncAction Represents an asynchronous action.
IAsyncActionWithProgress(TProgress) Represents an asynchronous action that includes progress updates.
IAsyncInfo Supports asynchronous actions and operations.
IAsyncOperation(TResult) Represents an asynchronous operation.
IAsyncOperationWithProgress(TResult, TProgress) Represents an asynchronous operation that includes progress updates.
IClosable Defines a method to release allocated resources.
IGetActivationFactory Defines the implementation for a type that retrieves activation factories.
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 a 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.
IWwwFormUrlDecoderEntry Represents a name-value pair in a URL query string.

 

Structures

The Windows.Foundation namespace has these structures.

StructureDescription
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 an error or warning.
Point Represents an ordered pair of floating-point x- and y-coordinates that defines a point in a two-dimensional plane.
Rect Contains a set of four floating-point numbers that represent the location and size of a rectangle.
Size Represents an ordered pair of floating-point numbers that specify a height and width.
TimeSpan Represents a time interval.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Foundation
Windows::Foundation [C++]

Metadata

Windows.winmd

See also

Windows.Foundation.Collections
Windows.Foundation.Diagnostics
Windows.Foundation.Metadata

 

 

Build date: 2/25/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.