DiscoveryExceptionDictionary.Add メソッド
アセンブリ: System.Web.Services (system.web.services.dll 内)

Dim instance As DiscoveryExceptionDictionary Dim url As String Dim value As Exception instance.Add(url, value)


Dim myNewExceptionDictionary As New DiscoveryExceptionDictionary() ' Add an exception with the custom error message. Dim myNewException As New Exception("The requested service is not available.") myNewExceptionDictionary.Add(myUrlKey, myNewException) myExceptionDictionary = myNewExceptionDictionary
DiscoveryExceptionDictionary myNewExceptionDictionary = new DiscoveryExceptionDictionary(); // Add an exception with the custom error message. Exception myNewException = new Exception("The requested service is not available."); myNewExceptionDictionary.Add(myUrlKey, myNewException); myExceptionDictionary = myNewExceptionDictionary;
DiscoveryExceptionDictionary^ myNewExceptionDictionary = gcnew DiscoveryExceptionDictionary; // Add an exception with the custom error message. Exception^ myNewException = gcnew Exception( "The requested service is not available." ); myNewExceptionDictionary->Add( myUrlKey, myNewException ); myExceptionDictionary = myNewExceptionDictionary;
DiscoveryExceptionDictionary myNewExceptionDictionary = new DiscoveryExceptionDictionary(); // Add an exception with the custom error message. Exception myNewException = new Exception("The requested service is not available."); myNewExceptionDictionary.Add(myUrlKey, myNewException); myExceptionDictionary = myNewExceptionDictionary;

Windows 98, Windows 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
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からDiscoveryExceptionDictionary.Add メソッドを検索する場合は、下記のリンクをクリックしてください。

- DiscoveryExceptionDictionary.Add メソッドのページへのリンク