HttpMethodAttribute Oluşturucular
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
HttpMethodAttribute(IEnumerable<String>) |
Verilen HTTP yöntemleri kümesiyle yeni HttpMethodAttribute bir oluşturur. |
HttpMethodAttribute(IEnumerable<String>, String) |
Verilen HTTP yöntemleri kümesiyle verilen yol şablonuyla yeni HttpMethodAttribute bir oluşturur. |
HttpMethodAttribute(IEnumerable<String>)
- Kaynak:
- HttpMethodAttribute.cs
- Kaynak:
- HttpMethodAttribute.cs
Verilen HTTP yöntemleri kümesiyle yeni HttpMethodAttribute bir oluşturur.
public:
HttpMethodAttribute(System::Collections::Generic::IEnumerable<System::String ^> ^ httpMethods);
public HttpMethodAttribute (System.Collections.Generic.IEnumerable<string> httpMethods);
new Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute : seq<string> -> Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute
Public Sub New (httpMethods As IEnumerable(Of String))
Parametreler
- httpMethods
- IEnumerable<String>
Şunlara uygulanır
HttpMethodAttribute(IEnumerable<String>, String)
- Kaynak:
- HttpMethodAttribute.cs
- Kaynak:
- HttpMethodAttribute.cs
Verilen HTTP yöntemleri kümesiyle verilen yol şablonuyla yeni HttpMethodAttribute bir oluşturur.
public:
HttpMethodAttribute(System::Collections::Generic::IEnumerable<System::String ^> ^ httpMethods, System::String ^ template);
public HttpMethodAttribute (System.Collections.Generic.IEnumerable<string> httpMethods, string template);
public HttpMethodAttribute (System.Collections.Generic.IEnumerable<string> httpMethods, string? template);
new Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute : seq<string> * string -> Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute
Public Sub New (httpMethods As IEnumerable(Of String), template As String)
Parametreler
- httpMethods
- IEnumerable<String>
Desteklenen yöntemler kümesi. Null olamaz.
- template
- String
Yol şablonu.
Şunlara uygulanır
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin