RoutingBehavior.GetContractForDescription(ContractDescription) 方法

定义

获取指定 ContractDescription 的协定类型。

public:
 static Type ^ GetContractForDescription(System::ServiceModel::Description::ContractDescription ^ description);
public static Type GetContractForDescription (System.ServiceModel.Description.ContractDescription description);
static member GetContractForDescription : System.ServiceModel.Description.ContractDescription -> Type
Public Shared Function GetContractForDescription (description As ContractDescription) As Type

参数

description
ContractDescription

要获取其类型的协定说明。

返回

Type

指定 ContractDescription 的类型。

适用于