次の方法で共有


NotificationTransportClass.DestinationUrl プロパティ

NotificationTransportClass

DestinationUrl は、通知の送信先である Microsoft® .NET Alerts ルーティング エンジンの URL を指定する文字列のプロパティです。このプロパティは必須です。

定義

Public Property DestinationUrl As String

プロパティの値

通知の送信先である .NET Alerts ルーティング エンジン の完全 URL ("http://" を含む) が含まれる文字列です。

解説

NotificationTransportClass オブジェクトを使用して通知を送信すると、そのプロパティは読み取り専用になります。このため、SendNotification メソッドを呼び出した後で NotificationTransportClass オブジェクトのプロパティを設定しようとすると、致命的な Component Object Model (COM) エラーが発生します。

配信先 URL として localhost を指定しないでください。

関連項目

Visual Basic .NET リファレンスの概要

  |