ETagAttribute.PropertyNames Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the names of properties used in the ETagAttribute.
public:
property System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ PropertyNames { System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<string> PropertyNames { get; }
member this.PropertyNames : System.Collections.ObjectModel.ReadOnlyCollection<string>
Public ReadOnly Property PropertyNames As ReadOnlyCollection(Of String)
Property Value
String value containing property names.
Remarks
Parameters to the ETagAttribute constructors are the set of property names used to make up the eTag value for the type. If a type has eTags defined, the server automatically implements optimistic concurrency checks on all requests to the type. If a key property, complex type property, or navigation property is specified, an ArgumentException is thrown.
Applies to
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk