EndpointDescriptionAttribute 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定 中 Metadata终结点的说明。
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public sealed class EndpointDescriptionAttribute : Attribute, Microsoft.AspNetCore.Http.Metadata.IEndpointDescriptionMetadata
	[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)>]
type EndpointDescriptionAttribute = class
    inherit Attribute
    interface IEndpointDescriptionMetadata
	Public NotInheritable Class EndpointDescriptionAttribute
Inherits Attribute
Implements IEndpointDescriptionMetadata
		- 继承
 - 
				EndpointDescriptionAttribute
 
- 属性
 
- 实现
 
注解
OpenAPI 规范支持操作和参数的 description 属性,这些属性可用于使用终结点行为的详细多行描述符进行批注。
构造函数
| EndpointDescriptionAttribute(String) | 
		 初始化 EndpointDescriptionAttribute 的实例。  | 
        	
属性
| Description | 
		 获取与终结点关联的说明。  | 
        	
方法
| ToString() | 
		 指定 中 Metadata终结点的说明。  |