FaultContractInfo(String, Type) 构造函数

定义

初始化使用指定操作和详细信息类型的 FaultContractInfo 类的新实例。

public:
 FaultContractInfo(System::String ^ action, Type ^ detail);
public FaultContractInfo (string action, Type detail);
new System.ServiceModel.Dispatcher.FaultContractInfo : string * Type -> System.ServiceModel.Dispatcher.FaultContractInfo
Public Sub New (action As String, detail As Type)

参数

action
String

SOAP 错误的操作。

detail
Type

序列化为 SOAP 错误详细信息的详细信息类型。

注解

根据 actiondetail 创建新的 FaultContractInfo。

适用于