ConsumesAttribute 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
ConsumesAttribute(String, String[]) |
ConsumesAttribute öğesinin yeni bir örneğini oluşturur. |
ConsumesAttribute(Type, String, String[]) |
ConsumesAttribute öğesinin yeni bir örneğini oluşturur. |
ConsumesAttribute(String, String[])
- Kaynak:
- ConsumesAttribute.cs
- Kaynak:
- ConsumesAttribute.cs
- Kaynak:
- ConsumesAttribute.cs
ConsumesAttribute öğesinin yeni bir örneğini oluşturur.
public:
ConsumesAttribute(System::String ^ contentType, ... cli::array <System::String ^> ^ otherContentTypes);
public ConsumesAttribute (string contentType, params string[] otherContentTypes);
new Microsoft.AspNetCore.Mvc.ConsumesAttribute : string * string[] -> Microsoft.AspNetCore.Mvc.ConsumesAttribute
Public Sub New (contentType As String, ParamArray otherContentTypes As String())
Parametreler
- contentType
- String
- otherContentTypes
- String[]
Şunlara uygulanır
ConsumesAttribute(Type, String, String[])
- Kaynak:
- ConsumesAttribute.cs
ConsumesAttribute öğesinin yeni bir örneğini oluşturur.
public ConsumesAttribute (Type requestType, string contentType, params string[] otherContentTypes);
new Microsoft.AspNetCore.Mvc.ConsumesAttribute : Type * string * string[] -> Microsoft.AspNetCore.Mvc.ConsumesAttribute
Public Sub New (requestType As Type, contentType As String, ParamArray otherContentTypes As String())
Parametreler
- requestType
- Type
- contentType
- String
- otherContentTypes
- String[]
Ş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