Aracılığıyla paylaş


DiscoveryExceptionDictionary.Item[String] Özellik

Tanım

adresinden Exception belirtilen URL'yi bulurken oluşan url'yi DiscoveryExceptionDictionaryalır veya ayarlar.

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

Parametreler

url
String

XML Web hizmetleri bulma sırasında özel durum oluşturmasına neden olan bulma belgesinin URL'si.

Özellik Değeri

Exception

keşfederken urloluşan bir Exception .

Özel durumlar

url, null değeridir.

Örnekler

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)

Şunlara uygulanır