SendReply.FromOperationDescription 方法

定义

从给定协定操作描述中返回发送答复。

public:
 static System::ServiceModel::Activities::SendReply ^ FromOperationDescription(System::ServiceModel::Description::OperationDescription ^ operation, [Runtime::InteropServices::Out] System::Collections::Generic::IEnumerable<System::ServiceModel::Activities::SendReply ^> ^ % faultReplies);
public static System.ServiceModel.Activities.SendReply FromOperationDescription (System.ServiceModel.Description.OperationDescription operation, out System.Collections.Generic.IEnumerable<System.ServiceModel.Activities.SendReply> faultReplies);
static member FromOperationDescription : System.ServiceModel.Description.OperationDescription * seq -> System.ServiceModel.Activities.SendReply
Public Shared Function FromOperationDescription (operation As OperationDescription, ByRef faultReplies As IEnumerable(Of SendReply)) As SendReply

参数

operation
OperationDescription

协定操作说明。

faultReplies
IEnumerable<SendReply>

当此方法返回时,包含错误的发送答复行为。

返回

给定协定操作说明中的 SendReply 对象。

适用于