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 services를 검색하는 동안 예외가 throw되게 한 검색 문서의 URL입니다.

속성 값

Exception

url을 검색하는 동안 throw된 Exception입니다.

예외

url이(가) null인 경우

예제

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)

적용 대상