AudioStreamingAgent Methods

Include Protected Members
Include Inherited Members

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

The AudioStreamingAgent type exposes the following members.

Methods

  Name Description
Abort Informs the operating system that the agent is unable to perform its intended task and that it should not be launched again until the foreground application mitigates the blocking issue and reenables the agent. (Inherited from BackgroundAgent.)
Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
GetType Gets the Type of the current instance. (Inherited from Object.)
MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
NotifyComplete Informs the operating system that the agent has completed its intended task for the current invocation of the agent. (Inherited from BackgroundAgent.)
NotifyCompleteWithResult Informs the operating system that the agent has completed its intended task for the current invocation of the agent. Call this method after successfully handling an invocation with a result. (Inherited from BackgroundAgent.)
OnBeginStreaming Called when a new track requires audio streaming because it is about to start playing.
OnCancel Tells AudioStreamingAgent that it has been cancelled. (Overrides BackgroundAgent..::.OnCancel()()().)
ToString Returns a string that represents the current object. (Inherited from Object.)

Top

See Also

Reference

AudioStreamingAgent Class

Microsoft.Phone.BackgroundAudio Namespace