14 references to Method
System.Data.Services (2)
System\Data\Services\HttpContextServiceHost.cs (2)
132result = this.operationContext.IncomingRequest.Method; 137if (this.operationContext.IncomingRequest.Method != XmlConstants.HttpMethodPost)
System.ServiceModel.Web (12)
System\ServiceModel\Dispatcher\HttpUnhandledOperationInvoker.cs (2)
114WebOperationContext.Current.IncomingRequest.Method, OperationContext.Current.IncomingMessageHeaders.To))); 119WebOperationContext.Current.IncomingRequest.Method, OperationContext.Current.IncomingMessageHeaders.To)), TraceEventType.Warning);
System\ServiceModel\Web\IncomingWebRequestContext.cs (10)
181if (!string.Equals(this.Method, IncomingWebRequestContext.HttpGetMethod, StringComparison.OrdinalIgnoreCase) && 182!string.Equals(this.Method, IncomingWebRequestContext.HttpHeadMethod, StringComparison.OrdinalIgnoreCase)) 185SR2.GetString(SR2.ConditionalRetrieveGetAndHeadOnly, this.Method))); 275if (!string.Equals(this.Method, IncomingWebRequestContext.HttpGetMethod, StringComparison.OrdinalIgnoreCase) && 276!string.Equals(this.Method, IncomingWebRequestContext.HttpHeadMethod, StringComparison.OrdinalIgnoreCase)) 279SR2.GetString(SR2.ConditionalRetrieveGetAndHeadOnly, this.Method))); 300bool isPutMethod = string.Equals(this.Method, IncomingWebRequestContext.HttpPutMethod, StringComparison.OrdinalIgnoreCase); 302!string.Equals(this.Method, IncomingWebRequestContext.HttpPostMethod, StringComparison.OrdinalIgnoreCase) && 303!string.Equals(this.Method, IncomingWebRequestContext.HttpDeleteMethod, StringComparison.OrdinalIgnoreCase)) 306SR2.GetString(SR2.ConditionalUpdatePutPostAndDeleteOnly, this.Method)));