OperationContractGenerationContext.BeginMethod 属性

定义

获取异步开始操作的 CodeMemberMethod

public:
 property System::CodeDom::CodeMemberMethod ^ BeginMethod { System::CodeDom::CodeMemberMethod ^ get(); };
public System.CodeDom.CodeMemberMethod BeginMethod { get; }
member this.BeginMethod : System.CodeDom.CodeMemberMethod
Public ReadOnly Property BeginMethod As CodeMemberMethod

属性值

异步开始操作的 CodeMemberMethod。 如果该操作是同步操作,则返回 null。

注解

使用 BeginMethod 可以检查或修改表示要生成的操作的异步开始方法。

适用于