CodeDomEventBindingService Constructor
Initializes a new instance of CodeDomEventBindingService.
Namespace: Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Public Sub New ( _
provider As IServiceProvider _
)
public CodeDomEventBindingService(
IServiceProvider provider
)
public:
CodeDomEventBindingService(
IServiceProvider^ provider
)
new :
provider:IServiceProvider -> CodeDomEventBindingService
public function CodeDomEventBindingService(
provider : IServiceProvider
)
Parameters
- provider
Type: System.IServiceProvider
IServiceProvider .
Remarks
This constructor uses the service provider to match a code DOM provider and a window frame to the document data object. If there are multiple classes in the file, the event binding service will use the RootComponentClassName property as the name of the class.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
CodeDomEventBindingService Class
Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom Namespace