ODataResourceSerializer.CreateETag(ResourceContext) Method
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.
Creates the ETag for the given entity.
public virtual string CreateETag (Microsoft.AspNet.OData.ResourceContext resourceContext);
abstract member CreateETag : Microsoft.AspNet.OData.ResourceContext -> string
override this.CreateETag : Microsoft.AspNet.OData.ResourceContext -> string
Public Overridable Function CreateETag (resourceContext As ResourceContext) As String
Parameters
- resourceContext
- ResourceContext
The context for the resource instance being written.
Returns
The created ETag.