Bewerken

Share via


EventOpcode Class

Definition

Contains an event opcode that is defined in an event provider. An opcode defines a numeric value that identifies the activity or a point within an activity that the application was performing when it raised the event.

public ref class EventOpcode sealed
public sealed class EventOpcode
type EventOpcode = class
Public NotInheritable Class EventOpcode
Inheritance
EventOpcode

Remarks

This class cannot be instantiated. A ProviderMetadata object defies a list of EventOpcode objects, one for each opcode defined in the provider.

The standard event opcodes are defined in the StandardEventOpcode enumeration.

Properties

DisplayName

Gets the localized name for an event opcode.

Name

Gets the non-localized name for an event opcode.

Value

Gets the numeric value associated with the event opcode.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also