次の方法で共有


IWebMatrixHost.ShowNotification メソッド

v2 に適用されます。

通知メッセージとアクション可能なリンクを短時間表示します。

名前空間:  Microsoft.WebMatrix.Extensibility
アセンブリ:  Microsoft.WebMatrix.Extensibility (Microsoft.WebMatrix.Extensibility.dll)

構文

'宣言
Sub ShowNotification ( _
    message As String, _
    actionMessage As String, _
    action As Action _
)
'使用
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
)

パラメーター

  • actionMessage
    型: System.String

    アクション可能なリンクのメッセージ。

  • action
    型: System.Action

    リンクが呼び出されたときに実行するアクション。

関連項目

参照

IWebMatrixHost インターフェイス

Microsoft.WebMatrix.Extensibility 名前空間