次の方法で共有


TracedEvent.Attach(Action) Method

Definition

Attach the event handler.

public:
 void Attach(Action ^ handler);
public void Attach (Action handler);
member this.Attach : Action -> unit
Public Sub Attach (handler As Action)

Parameters

handler
Action

The event handler to attach, not null.

Applies to