Partilhar via


ExceptionSettings.Remove(Object) Method

Definition

Deletes the ExceptionSetting object specified by index from the ExceptionSettings collection.

public:
 void Remove(System::Object ^ Index);
public:
 void Remove(Platform::Object ^ Index);
void Remove(winrt::Windows::Foundation::IInspectable const & Index);
[System.Runtime.InteropServices.DispId(201)]
public void Remove (object Index);
[<System.Runtime.InteropServices.DispId(201)>]
abstract member Remove : obj -> unit
Public Sub Remove (Index As Object)

Parameters

Index
Object

The index of the ExceptionSetting object to remove.

Attributes

Remarks

This method allows you to delete only exceptions that you have added. Built-in exception types cannot be deleted. If you attempt to delete a built-in exception, you will get the error message "Deletion of Built-In ExceptionSetting objects is not allowed."

Applies to