Microsoft.Rest.Azure.OData.ODataMethodAttribute public sealed class ODataMethodAttribute : Attribute Annotates OData methods. Documentation Code public string MethodName { get; } Gets or sets serialized name. public ODataMethodAttribute(string methodName) Initializes a new instance of ODataMethodAttribute with name.