DiscoveryExceptionDictionary.Item[String] Propiedad

Definición

Obtiene o establece el Exception objeto que se produjo al detectar la dirección URL especificada de .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

Parámetros

url
String

Dirección URL del documento de detección que produjo una excepción durante la detección de servicios web XML.

Valor de propiedad

que Exception se produjo al urldetectar .

Excepciones

url es null.

Ejemplos

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)

Se aplica a