Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UriPathExtensionMapping Class

 

Provides MediaTypeHeaderValues from path extensions appearing in a Uri.

Namespace:   System.Net.Http.Formatting
Assembly:  System.Web.Http (in System.Web.Http.dll)

System::Object
  System.Net.Http.Formatting::MediaTypeMapping
    System.Net.Http.Formatting::UriPathExtensionMapping

public ref class UriPathExtensionMapping : MediaTypeMapping

NameDescription
System_CAPS_pubmethodUriPathExtensionMapping(String^, MediaTypeHeaderValue^)

Initializes a new instance of the UriPathExtensionMapping class.

System_CAPS_pubmethodUriPathExtensionMapping(String^, String^)

Initializes a new instance of the UriPathExtensionMapping class.

NameDescription
System_CAPS_pubpropertyMediaType

Gets the MediaTypeHeaderValue that is associated with HttpRequestMessage or HttpResponseMessage instances that have the given characteristics of the MediaTypeMapping. (Inherited from MediaTypeMapping.)

System_CAPS_pubpropertyUriPathExtension

Gets the Uri path extension.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTryMatchMediaType(HttpRequestMessage^)

Returns a value indicating whether this UriPathExtensionMapping instance can provide a MediaTypeHeaderValue for the Uri of request. (Overrides MediaTypeMapping::TryMatchMediaType(HttpRequestMessage^).)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticUriPathExtensionKey

The Uri path extension key.

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

Return to top
Show: