コード例 #1
0
 /// <summary>
 /// Unregister correlation from this service.
 /// </summary>
 /// <param name="assetTypeName">Asset type name. It is defined by asset provider.</param>
 /// <param name="assetId">
 /// Used to identify the asset. The id should be immutable in the asset life cycle, even if the status or content changes over time.
 /// E.g., project guid is generated during project creation and will never change. This makes it a good candidate for asset id of Project asset.
 /// </param>
 /// <remarks>
 /// Used by Asset Provider.
 /// Call this method when previous registered asset correlation is stale.
 /// </remarks>
 public void UnregisterCorrelation(string assetTypeName, Guid assetId)
 {
     CodeContract.RequiresArgumentNotNullAndNotWhiteSpace(assetTypeName, "assetTypeName");
     CodeContract.RequiresArgumentNotEmpty(assetId, "assetId");
     UnregisterCorrelation(assetTypeName, assetId.ToString("D"));
 }