Redigera

Dela via


WebHttpDispatchOperationSelector.HttpOperationSelectorUriMatchedPropertyName Field

Definition

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