共用方式為


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 物件。

適用於