创建并返回一个新的共享步骤结果。
命名空间:  Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
声明
Function CreateSharedStepResult ( _
    actionId As Integer, _
    sharedStepId As Integer _
) As ISharedStepResult
ISharedStepResult CreateSharedStepResult(
    int actionId,
    int sharedStepId
)
ISharedStepResult^ CreateSharedStepResult(
    int actionId, 
    int sharedStepId
)
abstract CreateSharedStepResult : 
        actionId:int * 
        sharedStepId:int -> ISharedStepResult 
function CreateSharedStepResult(
    actionId : int, 
    sharedStepId : int
) : ISharedStepResult
参数
- actionId
 类型:System.Int32
 测试操作的数字 ID。
- sharedStepId
 类型:System.Int32
 共享步骤的数字 ID。
返回值
类型:Microsoft.TeamFoundation.TestManagement.Client.ISharedStepResult
新的共享步骤结果。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。