Share via


DiscoveryExceptionDictionary.Remove(String) 方法

定義

將有指定 URL 的 ExceptionDiscoveryExceptionDictionary 中移除。

public:
 void Remove(System::String ^ url);
public void Remove (string url);
member this.Remove : string -> unit
Public Sub Remove (url As String)

參數

url
String

Exception 的 URL,要從 DiscoveryExceptionDictionary 移除。

例外狀況

urlnull

範例

// Remove the discovery exception.for the key 'myUrlKey'.
myExceptionDictionary->Remove( myUrlKey );
// Remove the discovery exception.for the key 'myUrlKey'.
myExceptionDictionary.Remove(myUrlKey);
' Remove the discovery exception.for the key 'myUrlKey'.
myExceptionDictionary.Remove(myUrlKey)

適用於

另請參閱