Displays a notification with a specified header and a remark and returns a control flow without waiting for notification's closing. Returns a value, which corresponds to whether the operation succeeded.

Namespace: Elysium.Notifications
Assembly: Elysium.Notifications (in Elysium.Notifications.dll) Version: 2.0.62.4 (2.0.62.4)

Syntax

C#
public static DispatcherOperation BeginTryPush(
	string message,
	string remark
)
Visual Basic
Public Shared Function BeginTryPush ( 
	message As String,
	remark As String
) As DispatcherOperation

Parameters

message
Type: System..::..String
A header of the notification.
remark
Type: System..::..String
A remark.

Return Value

Type: DispatcherOperation
DispatcherOperation instance, which allows you manage execution task thread. Result is True, if the notification was displayed successfully, otherwise false.

Exceptions

ExceptionCondition
System..::..ArgumentException Parameter message has a value = null or it's an empty string or it consists of spaces.

Contracts

See Also