System.ServiceModel.Channels.RequestContext から HttpMethod を取得するにはどうすればよいですか? HostedHttpContext の HttpMethod プロパティ
(System.ServiceModel.Activation.HostedHttpContext)
はInternal
更新 - 説明:
BasicAuthenticationInterceptor
REST WCF サービスで基本 HTTP 認証に使用する( RequestInterceptorを継承する) を作成しました。メソッドでは、 HTTP メソッドvoid ProcessRequest(ref RequestContext requestContext)
を確認する必要があります(たとえば、POSTの場合)