IWebMatrixHost.ShowNotification Method

Applies to v2.

Shows a notification message and an actionable link for a brief period of time.

Namespace:  Microsoft.WebMatrix.Extensibility
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Sub ShowNotification ( _
    message As String, _
    actionMessage As String, _
    action As Action _
)
'Usage
Dim instance As IWebMatrixHost 
Dim message As String 
Dim actionMessage As String 
Dim action As Action

instance.ShowNotification(message, actionMessage, _
    action)
void ShowNotification(
    string message,
    string actionMessage,
    Action action
)
void ShowNotification(
    String^ message, 
    String^ actionMessage, 
    Action^ action
)
abstract ShowNotification : 
        message:string * 
        actionMessage:string * 
        action:Action -> unit
function ShowNotification(
    message : String, 
    actionMessage : String, 
    action : Action
)

Parameters

  • actionMessage
    Type: System.String

    Message for the actionable link.

  • action
    Type: System.Action

    Action to execute when the link is invoked.

See Also

Reference

IWebMatrixHost Interface

Microsoft.WebMatrix.Extensibility Namespace