Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
WCF restful サービスに基づいて WebDAV サーバーを作成したいと考えています。カスタム http コード 207 マルチステータスでメッセージを返すことは可能ですか? 残念ながら、System.Net.HttpStatusCode enum が webdav rfc に記述されている http コード拡張をサポートしていないように見えるため、WebOperationContext を使用できません。
System.Net.HttpStatusCode は int 型の列挙型であり、実質的に読みやすいコードです。を使ってみてください(HttpStatusCode) 207。
(HttpStatusCode) 207