WebHttpDispatchOperationSelector.HttpOperationSelectorUriMatchedPropertyName Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A string used as a key for storing the value that indicates whether a call to a service operation was matched by the URI but not by the HTTP method.
public: System::String ^ HttpOperationSelectorUriMatchedPropertyName;
public const string HttpOperationSelectorUriMatchedPropertyName;
val mutable HttpOperationSelectorUriMatchedPropertyName : string
Public Const HttpOperationSelectorUriMatchedPropertyName As String
Field Value
Remarks
Two different errors can occur when calling a service operation: "404 Endpoint/URI not found" and "405 Method Not Allowed." This string and its associated Boolean value allow the service model to differentiate between these two errors. The "404 Endpoint/URI" error occurs when an invalid URI is used. The "405 Method Not Allowed" error occurs when a valid URI is used but the HTTP method was not valid for the URI.
Applies to
.NET