System.ServiceModel.Description 命名空间

提供类,与服务模型描述相关。 Provides classes related to the service model description.

CallbackDebugBehavior

为 Windows Communication Foundation (WCF) 回调对象启用服务调试。Enables service debugging for a Windows Communication Foundation (WCF) callback object.

ClientCredentials

使用户能够配置客户端和服务凭据以及服务凭据身份验证设置,以用于通信的客户端。Enables the user to configure client and service credentials as well as service credential authentication settings for use on the client side of communication.

ClientViaBehavior

客户端使用 ClientViaBehavior 来指定应为其创建传输通道的 URI。The ClientViaBehavior is used by clients to specify the URI for which the transport channel should be created.

ContractDescription

描述指定终结点向外部传递的信息的 Windows Communication Foundation (WCF) 协定。Describes a Windows Communication Foundation (WCF) contract that specifies what an endpoint communicates to the outside world.

DataContractSerializerMessageContractImporter

从 WSDL 文档处理数据协定消息的导入。Handles the importation of data contract messages from WSDL documents.

DataContractSerializerOperationBehavior

表示 DataContractSerializer的运行时行为。Represents the run-time behavior of the DataContractSerializer.

DispatcherSynchronizationBehavior

允许 WCF 服务异步发送答复的终结点行为。An endpoint behavior that enables a WCF service to send replies asynchronously.

DurableOperationAttribute

指定持久性服务方法的本地执行行为。Specifies the local execution behavior of a durable service method.

DurableServiceAttribute

指定持久性服务协定实现的内部执行行为。Specifies the internal execution behavior of a durable service contract implementation.

FaultDescription

表示 SOAP 错误。Represents a SOAP fault.

FaultDescriptionCollection

表示可用于获取协定中 SOAP 错误的相关信息的 FaultDescription 对象集合。Represents a collection of FaultDescription objects that you can use to obtain information about SOAP faults in a contract.

JsonFaultDetail

表示在要用于 JSON 的服务协定中指定的 SOAP 错误。Represents a SOAP fault that is specified in the service contract for use with JSON.

MessageBodyDescription

表示 SOAP 消息的正文。Represents the body of a SOAP message.

MessageDescription

表示消息的说明。Represents the description of a message.

MessageDescriptionCollection

提供用于存储消息说明的集合,其中消息为组成协定所属操作的消息。Provides a collection that is used to store descriptions of the messages that make up an operation that belongs to a contract.

MessageHeaderDescription

表示 SOAP 消息头。Represents a SOAP message header.

MessageHeaderDescriptionCollection

表示 MessageHeaderDescription 对象集合。Represents a collection of MessageHeaderDescription objects.

MessagePartDescription

表示 SOAP 消息部分的说明。Represents a description of a SOAP message part.

MessagePartDescriptionCollection

表示 MessagePartDescription 对象集合。Represents a collection of MessagePartDescription objects.

MessagePropertyDescription

表示 MessagePropertyAttribute 指定的消息属性。Represents a message property specified by the MessagePropertyAttribute.

MessagePropertyDescriptionCollection

表示 MessagePropertyDescription 对象集合。Represents a collection of MessagePropertyDescription objects.

MetadataConversionError

表示使用 MetadataExporterMetadataImporter 时发生的错误或警报事件。Represents an error or warning event that occurred during the use of a MetadataExporter or MetadataImporter.

MetadataExchangeBindings

用于通过使用 IMetadataExchange 协定,为 WS-Transfer 元数据交换创建系统提供的绑定。Used to create system-provided bindings for WS-Transfer metadata exchange using the IMetadataExchange contract.

MetadataExchangeClient

下载服务元数据。Downloads service metadata.

MetadataExporter

将服务说明信息导出到元数据中。Exports service description information into metadata.

MetadataImporter

将元数据导入 ServiceEndpoint 对象。Imports metadata into ServiceEndpoint objects.

MetadataImporterQuotas

指定派生自 MetadataImporter 类的元数据导入程序的配额。Specifies the quotas for metadata importers that derive from the MetadataImporter class.

MetadataLocation

表示元数据文档的地址。Represents the address of metadata documents.

MetadataReference

表示对从元数据交换终结点返回的元数据文档的引用。Represents a reference to a metadata document returned from a metadata exchange endpoint.

MetadataResolver

将元数据作为 ServiceEndpoint 对象进行检索和导入。Retrieves and imports metadata as ServiceEndpoint objects.

MetadataSection

表示 XML 元数据或对 XML 元数据的引用。Represents XML metadata or references to XML metadata.

MetadataSet

表示 XML 格式的服务元数据的可序列化集合。Represents a serializable collection of service metadata in XML form.

MustUnderstandBehavior

指示 Windows Communication Foundation (WCF) 不在 UnderstoodHeaders 集合中禁用标头的强制处理,根据 SOAP 1.1 和 1.2 规范,必须了解该集合。Instructs Windows Communication Foundation (WCF) to disable the mandatory processing of headers not in the UnderstoodHeaders collection that must be understood according to the SOAP 1.1 and 1.2 specifications.

OperationContractGenerationContext

传递给 GenerateOperation(OperationContractGenerationContext) 方法可以在生成代码之前修改操作协定及其上下文。Passed to the GenerateOperation(OperationContractGenerationContext) method to enable the modification of an operation contract and its context prior to generating code.

OperationDescription

表示协定操作的说明,该协定操作可提供组成操作的消息的说明。Represents the description of a contract operation that provides a description of the messages that make up the operation.

OperationDescriptionCollection

表示包含操作说明的集合。Represents a collection that contains operation descriptions.

ParameterXPathQueryGenerator

允许从数据协定创建 XPath。Enables the creation of an XPath from a data contract.

PersistenceProviderBehavior

定义与 PersistenceProviderFactory 关联的 WorkflowServiceHost 的行为。Defines the behavior for a PersistenceProviderFactory associated with a WorkflowServiceHost.

PolicyAssertionCollection

包含策略断言。Contains policy assertions.

PolicyConversionContext

定义用于检索元数据中的绑定断言并在适当范围内附加实现绑定元素的类。Defines a class used to retrieve binding assertions in metadata and to attach implementing binding elements at the appropriate scope.

PolicyVersion

一个类,用于指定使用的 WS-Policy 规范的版本。A class used to specify the version of the WS-Policy specification being used.

ServiceAuthenticationBehavior

描述服务的身份验证行为。Describes the service's authentication behavior.

ServiceAuthorizationBehavior

提供与服务授权行为相关的属性。Provides properties related to service authorization behavior.

ServiceContractGenerationContext

传递给 GenerateContract(ServiceContractGenerationContext) 方法,以能在生成代码之前对服务协定及其上下文进行修改。Passed to the GenerateContract(ServiceContractGenerationContext) method to enable the modification of a service contract and its context prior to generating code.

ServiceContractGenerator

ServiceContractGenerator 类型可以从 ServiceEndpoint 说明对象生成服务协定代码和绑定配置。The ServiceContractGenerator type generates service contract code and binding configurations from ServiceEndpoint description objects.

ServiceCredentials

配置服务凭据。Configures a service credential. 使用此类可指定服务的凭据,如 X.509 证书。Use this class to specify the credential for the service such as an X.509 certificate. 此外,使用此类还可指定各种客户端凭据的验证模式,如用户名和密码验证。Also, use this class to specify the authentication model for various client credentials such as user name and password validation.

ServiceDebugBehavior

启用 Windows Communication Foundation (WCF) 服务的调试和帮助信息功能。Enables debugging and help information features for a Windows Communication Foundation (WCF) service.

ServiceDescription

表示一个完整的服务的内存中说明,包括服务的所有终结点及其各自地址、绑定、协定和行为的规范。Represents a complete, in-memory description of the service, including all the endpoints for the service and specifications for their respective addresses, bindings, contracts and behaviors.

ServiceEndpoint

表示允许服务的客户端查找并与服务通信的服务的终结点。Represents the endpoint for a service that allows clients of the service to find and communicate with the service.

ServiceEndpointCollection

一个包含服务的终结点的集合。A collection that contains the endpoints for a service.

ServiceHealthBehavior

提供可提供运行状况终结点的 Windows Communication Foundation (WCF) 服务行为。Provides a Windows Communication Foundation (WCF) service behavior that provides a health endpoint.

ServiceHealthBehaviorBase

充当提供运行状况终结点的 Windows Communication Foundation (WCF) 服务行为的基类。Serves as the base class for a Windows Communication Foundation (WCF) service behavior that provides a health endpoint.

ServiceHealthData

定义一个数据项,该数据项由一个密钥和多个值组成,供 Windows Communication Foundation (WCF) 运行状况服务使用。Defines a data item that consists of a key and multiple values for use by a Windows Communication Foundation (WCF) health service.

ServiceHealthDataCollection

表示 ServiceHealthData 对象的键控集合。Represents a keyed collection of ServiceHealthData objects.

ServiceHealthModel

包含提供有关 WCF 服务的状况和状态信息的模型。Contains the model that provides information about the state and status of a WCF service.

ServiceHealthModel.ChannelDispatcherModel

包含表示与 WCF 服务关联的通道调度程序的模型。Contains the model that represents the channel dispatchers associated with a WCF service.

ServiceHealthModel.CommunicationTimeoutsModel

包含表示 WCF 服务超时的模型的类。The class that contains the model representing a WCF service's timeouts.

ServiceHealthModel.ProcessInformationModel

提供有关此运行状况服务正在监视的服务的进程信息。Provides process information about the service that this health service is monitoring.

ServiceHealthModel.ProcessThreadsModel

提供有关此服务运行状况进程的线程处理信息。Provides threading information about this service health process.

ServiceHealthModel.ServiceEndpointModel

提供有关此运行状况服务行为监视的终结点的信息。Provides information about the endpoints that this health service behavior monitors.

ServiceHealthModel.ServicePropertiesModel

提供有关 WCF 服务的属性信息。Provides property information about a WCF service.

ServiceHealthModel.ServiceThrottleModel

包含模型,该模型提供有关控制 WCF 服务吞吐量的服务限制的信息。Contains the model that provides information about service throttle that controls the throughput of a WCF service.

ServiceHealthSection

表示服务运行状况行为 HTML 页的部分。Represents a section of a Service Health Behavior HTML page.

ServiceHealthSectionCollection

表示 ServiceHealthSection 对象集合。Represents a collection of ServiceHealthSection objects.

ServiceMetadataBehavior

控制服务元数据和相关信息的发布。Controls the publication of service metadata and associated information.

ServiceMetadataContractBehavior

使您能够指定是否为给定终结点发布元数据的协定行为。A contract behavior that enables you to specify whether or not to publish metadata for a given endpoint.

ServiceMetadataEndpoint

具有固定协定 (IMetadataExchange) 和默认 HTTP 绑定的标准终结点,用于公开元数据。A standard endpoint with a fixed contract (IMetadataExchange) and a default HTTP binding used for exposing metadata.

ServiceMetadataExtension

提供元数据发布协议的实现。Provides the implementation for the metadata publishing protocols.

ServiceSecurityAuditBehavior

指定安全性事件的审核行为。Specifies the audit behavior of security events. 通常,安全性事件包含身份验证事件(如传输、消息或协商身份验证)和授权事件。In general, the security events consist of authentication events such as transport, message or negotiate authentication and authorization event. 有关详细信息,请参阅 ServiceAuthorizationManagerFor more information, see ServiceAuthorizationManager.

ServiceThrottlingBehavior

配置运行时吞吐量设置,这些设置可以让您优化服务性能。Configures run-time throughput settings that enable you to tune service performance.

SynchronousReceiveBehavior

控制通道以同步还是异步方式进行侦听。Controls whether channels listen synchronously or asynchronously.

TransactedBatchingBehavior

表示一个行为,它可优化支持事务性接收的传输的接收操作。Represents a behavior that optimizes the receive operations for transports that support transactional receives.

TypedMessageConverter

将类型化的消息转换为非类型化的消息,或将非类型化的消息转换为类型化的消息。Converts a typed message to an untyped message, or an untyped message to a typed message.

UseRequestHeadersForMetadataAddressBehavior

为 Windows Communication Foundation (WCF) 服务启用从请求消息标头中检索元数据地址信息。Enables the retrieval of metadata address information from request message headers for a Windows Communication Foundation (WCF) service.

WebHttpBehavior

为 Windows Communication Foundation (WCF) 服务启用 Web 编程模型。Enables the Web programming model for a Windows Communication Foundation (WCF) service.

WebHttpEndpoint

带有自动添加 WebHttpBinding 行为的固定 WebHttpBehavior 绑定的标准终结点。A standard endpoint with a fixed WebHttpBinding binding that automatically adds the WebHttpBehavior behavior.

WebScriptEnablingBehavior

为启用 Windows Communication Foundation (WCF) 终结点的行为提供支持,以便接收来自基于浏览器的 ASP.NET AJAX 客户端的 HTTP 请求。Provides support for the behavior that enables Windows Communication Foundation (WCF) endpoints to receive HTTP requests from a browser-based ASP.NET AJAX client. 此类不能被继承。This class cannot be inherited.

WebScriptEndpoint

带有自动添加 WebHttpBinding 行为的固定 WebScriptEnablingBehavior 绑定的标准终结点。A standard endpoint with a fixed WebHttpBinding binding that automatically adds the WebScriptEnablingBehavior behavior.

WebServiceEndpoint

带有固定 WebHttpBinding 绑定的标准终结点。A standard endpoint with a fixed WebHttpBinding binding.

WorkflowRuntimeBehavior

定义与 WorkflowRuntime 关联的 WorkflowServiceHost 的行为。Defines the behavior for the WorkflowRuntime associated with a WorkflowServiceHost.

WsdlContractConversionContext

传递给自定义 WSDL 导出程序和导入程序,从而为协定自定义元数据导出过程和导入过程。Passed to custom WSDL exporters and importers to enable customization of the metadata export and import processes for a contract.

WsdlEndpointConversionContext

传递给自定义 WSDL 导出程序和导入程序,可以为 WSDL 终结点自定义元数据导出过程和导入过程。Passed to custom WSDL exporters and importers to enable customization of the metadata export and import processes for a WSDL endpoint.

WsdlExporter

将服务、协定和终结点信息转换为元数据文档。Converts service, contract, and endpoint information into metadata documents.

WsdlImporter

与 WS-Policy 附件一起导入 Web Services 描述语言 (WSDL) 1.1 元数据。Imports Web Services Description Language (WSDL) 1.1 metadata with WS-Policy attachments.

XmlSerializerMessageContractImporter

使用 XmlSerializer 从 WSDL 文档处理消息的导入。Handles the import of messages from WSDL documents using the XmlSerializer.

XmlSerializerOperationBehavior

控制与操作相关联的 XmlSerializer 的运行时行为。Controls run-time behavior of the XmlSerializer associated with an operation.

接口

IContractBehavior

实现可用于扩展服务或客户端应用程序中的协定的运行时行为的方法。Implements methods that can be used to extend run-time behavior for a contract in either a service or client application.

IContractBehaviorAttribute

指定其实现 IContractBehavior 接口的属性处于活动状态的协定。Specifies the contract for which an attribute that implements the IContractBehavior interface is active.

IEndpointBehavior

实现可用于扩展服务或客户端应用程序中的终结点的运行时行为的方法。Implements methods that can be used to extend run-time behavior for an endpoint in either a service or client application.

IMetadataExchange

公开用于返回有关服务的元数据的方法。Exposes methods used to return metadata about a service.

IOperationBehavior

实现可用于扩展服务或客户端应用程序中的操作的运行时行为的方法。Implements methods that can be used to extend run-time behavior for an operation in either a service or client application.

IOperationContractGenerationExtension

定义协定生成期间调用的方法,这些方法可用于修改为操作生成的代码。Defines the methods called during contract generation that can be used to modify the generated code for an operation.

IPolicyExportExtension

实现 IPolicyExportExtension 可以在 Web Services 描述语言 (WSDL) 信息中插入自定义绑定策略断言。Implement IPolicyExportExtension to insert custom binding policy assertions in the Web Services Description Language (WSDL) information.

IPolicyImportExtension

为可导入有关绑定的自定义策略断言的对象定义一个方法。Defines a method for objects that import custom policy assertions about bindings.

IServiceBehavior

提供一种在整个服务内修改或插入自定义扩展的机制,包括 ServiceHostBaseProvides a mechanism to modify or insert custom extensions across an entire service, including the ServiceHostBase.

IServiceContractGenerationExtension

定义协定生成期间调用的方法,这些方法可用于修改为服务协定生成的代码。Defines the methods called during contract generation that can be used to modify the generated code for a service contract.

IWsdlExportExtension

定义可导出自定义元数据的终结点或协定行为。Defines endpoint or contract behaviors that can export custom metadata.

IWsdlImportExtension

实现并附加到 WsdlImporter 对象,可以对导入程序将 Web Services 描述语言 (WSDL) 部分映射到 ServiceDescription 对象的 Web Services 描述语言 (WSDL) 部分进行控制。Implement and attach to a WsdlImporter object to control how the importer maps Web Services Description Language (WSDL) parts to those of a ServiceDescription object.

枚举

ListenUriMode

指示传输是否必须保证提供给服务的供服务侦听的 URI 是唯一的,或者不对该 URI 进行任何修改,就原样使用。Indicates whether the transport must ensure that the URI provided for the service to listen on is unique or can be used exactly as provided.

MessageDirection

指定消息的方向。Specifies the direction of the message.

MetadataExchangeClientMode

指定用于获取元数据的交换模式。Specifies the exchange mode used to obtain metadata.

PrincipalPermissionMode

设置使用 PrincipalPermissionAttribute 对方法访问进行控制时所执行的授权检查的模式。Sets the mode for authorization checks when using the PrincipalPermissionAttribute to control access to a method.

ServiceContractGenerationOptions

表示使用 ServiceContractGenerator 时可用的协定生成选项。Represents the contract generation options available using the ServiceContractGenerator.

UnknownExceptionAction

指定持久性服务将如何处理未知异常。Specifies how a durable service will handle an unknown exception.