Share via


HandlerElement Constructor (String, String)

Initializes a new instance of the HandlerElement class with specified HTTP handler and XAML root element type names.

Namespace:  System.Xaml.Hosting.Configuration
Assembly:  System.Xaml.Hosting (in System.Xaml.Hosting.dll)

Syntax

'Declaration
Public Sub New ( _
    xamlType As String, _
    handlerType As String _
)
public HandlerElement(
    string xamlType,
    string handlerType
)
public:
HandlerElement(
    String^ xamlType, 
    String^ handlerType
)
new : 
        xamlType:string * 
        handlerType:string -> HandlerElement
public function HandlerElement(
    xamlType : String, 
    handlerType : String
)

Parameters

  • xamlType
    Type: System.String

    The name of the XAML root element in a configuration file.

  • handlerType
    Type: System.String

    The name of the HTTP handler property of an XAML element in a configuration file.

Version Information

.NET Framework

Supported in: 4.6, 4.5, 4

See Also

Reference

HandlerElement Class

HandlerElement Overload

System.Xaml.Hosting.Configuration Namespace