DiscoveryExceptionDictionary.Item[String] プロパティ

定義

Exception から指定 URL を探索しているときに発生した DiscoveryExceptionDictionary を取得または設定します。

public:
 property Exception ^ default[System::String ^] { Exception ^ get(System::String ^ url); void set(System::String ^ url, Exception ^ value); };
public Exception this[string url] { get; set; }
member this.Item(string) : Exception with get, set
Default Public Property Item(url As String) As Exception

パラメーター

url
String

XML Web サービス探索中にスローされた例外の原因となる探索ドキュメントの URL。

プロパティ値

Exception

url の探索時にスローされた Exception

例外

urlnullです。

Exception^ myException = myExceptionDictionary[ myUrlKey ];
Console::WriteLine( " Source : {0}", myException->Source );
Console::WriteLine( " Exception : {0}", myException->Message );
Exception myException = myExceptionDictionary[myUrlKey];
Console.WriteLine(" Source : " + myException.Source);
Console.WriteLine(" Exception : " + myException.Message);
Dim myException As Exception = myExceptionDictionary(myUrlKey)
Console.WriteLine(" Source : " + myException.Source)
Console.WriteLine(" Exception : " + myException.Message)

適用対象