DiscoveryExceptionDictionary.Item Property (String)

 

Gets or sets the Exception that occurred while discovering the specified URL from the DiscoveryExceptionDictionary.

Namespace:   System.Web.Services.Discovery
Assembly:  System.Web.Services (in System.Web.Services.dll)

Public Property Item (
	url As String
) As Exception

Parameters

url
Type: System.String

The URL of the discovery document that caused an exception to be thrown during XML Web services discovery.

Property Value

Type: System.Exception

An Exception that was thrown discovering url.

Exception Condition
ArgumentNullException

url is null.

Dim myException As Exception = myExceptionDictionary(myUrlKey)
Console.WriteLine(" Source : " + myException.Source)
Console.WriteLine(" Exception : " + myException.Message)

.NET Framework
Available since 1.1
Return to top
Show: