Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CodeDomEventBindingService Class

CodeDomEventBindingService Class

This type has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses any member of this type throws a MethodAccessException.
[SECURITY CRITICAL]

A service used to generate event-handling code.

This API is not CLS-compliant. The CLS-compliant alternative is [None].

System.Object
  System.ComponentModel.Design.EventBindingService
    Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom.CodeDomEventBindingService

Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

[CLSCompliantAttribute(false)]
[SecurityCriticalAttribute]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public abstract class CodeDomEventBindingService : EventBindingService

The CodeDomEventBindingService type exposes the following members.

  NameDescription
Public methodCodeDomEventBindingServiceInitializes a new instance of CodeDomEventBindingService.
Top

  NameDescription
Protected propertyCodeDomAdapterGets the code DOM data adapter.
Top

  NameDescription
Protected methodCreateUniqueMethodNameCreates a unique method name for the event. (Overrides EventBindingService.CreateUniqueMethodName(IComponent, EventDescriptor).)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected methodFreeMethodRemoves the specified method from the code if no event handlers are using it and it is empty. (Overrides EventBindingService.FreeMethod(IComponent, EventDescriptor, String).)
Protected methodGetCompatibleMethodsGets all the methods in the code DOM that are compatible with the specified event descriptor. (Overrides EventBindingService.GetCompatibleMethods(EventDescriptor).)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Protected methodGetServiceGets the requested service from the service provider. (Inherited from EventBindingService.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodShowCode()Displays the code in the document data in the editor window. (Overrides EventBindingService.ShowCode().)
Protected methodShowCode(Int32)Displays the code at the specified line. (Overrides EventBindingService.ShowCode(Int32).)
Protected methodShowCode(IComponent, EventDescriptor, String)Shows the body of the user code with the given method name and event descriptor. (Overrides EventBindingService.ShowCode(IComponent, EventDescriptor, String).)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Protected methodUseMethodCreates the method declaration for the given method name and event descriptor. (Overrides EventBindingService.UseMethod(IComponent, EventDescriptor, String).)
Protected methodValidateMethodNameValidates the name of the method. (Overrides EventBindingService.ValidateMethodName(String).)
Top

  NameDescription
Explicit interface implemetationPrivate methodIEventBindingService.CreateUniqueMethodNameCreates a unique name for an event-handler method for the specified component and event. (Inherited from EventBindingService.)
Explicit interface implemetationPrivate methodIEventBindingService.GetCompatibleMethodsGets a collection of event-handler methods that have a method signature compatible with the specified event. (Inherited from EventBindingService.)
Explicit interface implemetationPrivate methodIEventBindingService.GetEventGets an EventDescriptor for the event that the specified property descriptor represents, if it represents an event. (Inherited from EventBindingService.)
Explicit interface implemetationPrivate methodIEventBindingService.GetEventPropertiesConverts a set of event descriptors to a set of property descriptors. (Inherited from EventBindingService.)
Explicit interface implemetationPrivate methodIEventBindingService.GetEventPropertyConverts a single event descriptor to a property descriptor. (Inherited from EventBindingService.)
Explicit interface implemetationPrivate methodIEventBindingService.ShowCode()Displays the user code for the designer. (Inherited from EventBindingService.)
Explicit interface implemetationPrivate methodIEventBindingService.ShowCode(Int32)Displays the user code for the designer at the specified line. (Inherited from EventBindingService.)
Explicit interface implemetationPrivate methodIEventBindingService.ShowCode(IComponent, EventDescriptor)Displays the user code for the specified event. (Inherited from EventBindingService.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft