State Property
Collapse the table of content
Expand the table of content

ContactsSearchEventArgs.State Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets a user-defined object that contains information about the operation.

Namespace:  Microsoft.Phone.UserData
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public Object State { get; internal set; }

Property Value

Type: System.Object
The user-defined object.

The user passes the State object to the SearchAsync method in the state parameter. The object is stored internally and then passed back to methods invoked by SearchCompleted delegates when the asynchronous operation completes.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft