Notification<T>.Accept<TResult> Method (Func<T, TResult>, Func<Exception, TResult>, Func<TResult>)

March 22, 2012

Invokes the delegate corresponding to the notification and returns the produced result.

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

public abstract TResult Accept<TResult>(
	Func<T, TResult> onNext,
	Func<Exception, TResult> onError,
	Func<TResult> onCompleted
)

Type Parameters

TResult

Parameters

onNext
Type: System.Func<T, TResult>
onError
Type: System.Func<Exception, TResult>
onCompleted
Type: System.Func<TResult>

Return Value

Type: TResult
N/A

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

Show: