DiscoveryExceptionDictionary.Item Property
.NET Framework 3.0
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)
Assembly: System.Web.Services (in system.web.services.dll)
public: property Exception^ default [String^] { Exception^ get (String^ url); void set (String^ url, Exception^ value); }
/** @property */ public Exception get_Item (String url) /** @property */ public void set_Item (String url, Exception value)
Not applicable.
Parameters
- url
The URL of the discovery document that caused an exception to be thrown during XML Web services discovery.
Property Value
An Exception that was thrown discovering url.Exception^ myException = myExceptionDictionary[ myUrlKey ]; Console::WriteLine( " Source : {0}", myException->Source ); Console::WriteLine( " Exception : {0}", myException->Message );
System.Exception myException = myExceptionDictionary.
get_Item(myUrlKey);
Console.WriteLine(" Source : " + myException.get_Source());
Console.WriteLine(" Exception : " + myException.get_Message());
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: