Initializes a new instance of the UriPathExtensionMapping class.
Namespace:  System.Net.Http.Formatting
Assembly:  System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub New ( _
    uriPathExtension As String, _
    mediaType As MediaTypeHeaderValue _
)
'Usage
Dim uriPathExtension As String
Dim mediaType As MediaTypeHeaderValue
Dim instance As New UriPathExtensionMapping(uriPathExtension, _
    mediaType)
public UriPathExtensionMapping(
    string uriPathExtension,
    MediaTypeHeaderValue mediaType
)
public:
UriPathExtensionMapping(
    String^ uriPathExtension, 
    MediaTypeHeaderValue^ mediaType
)
new : 
        uriPathExtension:string * 
        mediaType:MediaTypeHeaderValue -> UriPathExtensionMapping
public function UriPathExtensionMapping(
    uriPathExtension : String, 
    mediaType : MediaTypeHeaderValue
)
Parameters
- uriPathExtension
Type: System.String
The extension corresponding to mediaType. This value should not include a dot or wildcards. 
- mediaType
Type: MediaTypeHeaderValue
The MediaTypeHeaderValue that will be returned if uriPathExtension is matched.