Windows.Foundation namespace

Applies to Windows and Windows Phone

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.
WwwFormUrlDecoderEntry Represents a name-value pair in 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 Represents a method that handles progress update events of an asynchronous action that provides progress updates.
AsyncActionWithProgressCompletedHandler Represents a method that handles the completed event of an asynchronous action that provides progress updates.
AsyncOperationCompletedHandler Represents a method that handles the completed event of an asynchronous operation.
AsyncOperationProgressHandler Represents a method that handles progress update events of an asynchronous operation that provides progress updates.
AsyncOperationWithProgressCompletedHandler Represents a method that handles the completed event of an asynchronous operation that provides progress updates.
EventHandler Represents a method that handles general events.
TypedEventHandler 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 Represents an asynchronous action that includes progress updates.
IAsyncInfo Supports asynchronous actions and operations.
IAsyncOperation Represents an asynchronous operation.
IAsyncOperationWithProgress 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 Enables arbitrary enumerations, structures, and delegate types to be used as property values.
IReferenceArray 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.

 

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 x- and y-coordinates that define 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 as a signed 64-bit integer value.

 

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

 

 

Show:
© 2014 Microsoft