Szerkesztés

Megosztás a következőn keresztül:


TrackingServices.RegisteredHandlers Property

Definition

Gets an array of the tracking handlers that are currently registered with TrackingServices in the current AppDomain.

public:
 static property cli::array <System::Runtime::Remoting::Services::ITrackingHandler ^> ^ RegisteredHandlers { cli::array <System::Runtime::Remoting::Services::ITrackingHandler ^> ^ get(); };
public static System.Runtime.Remoting.Services.ITrackingHandler[] RegisteredHandlers { get; }
public static System.Runtime.Remoting.Services.ITrackingHandler[] RegisteredHandlers { [System.Security.SecurityCritical] get; }
static member RegisteredHandlers : System.Runtime.Remoting.Services.ITrackingHandler[]
[<get: System.Security.SecurityCritical>]
static member RegisteredHandlers : System.Runtime.Remoting.Services.ITrackingHandler[]
Public Shared ReadOnly Property RegisteredHandlers As ITrackingHandler()

Property Value

An array of the tracking handlers that are currently registered with TrackingServices in the current AppDomain.

Attributes

Examples

The following code example shows how to use this method. This code example is part of a larger example that is provided for the TrackingServices class.

// Get the number of currently registered handlers.
Console.WriteLine("Registered tracking handlers: " + 
    TrackingServices.RegisteredHandlers.Length);

Applies to