Exemplo n.º 1
0
 protected override void CacheMetadata(NativeActivityMetadata metadata)
 {
     if (this.Request == null)
     {
         metadata.AddValidationError(new ValidationError(SR2.TransactedReceiveScopeMustHaveValidReceive(this.DisplayName), false, RequestPropertyName));
     }
     metadata.AddChild(this.Request);
     metadata.AddChild(this.Body);
     metadata.SetVariablesCollection(this.Variables);
     metadata.AddImplementationVariable(this.transactionHandle);
     metadata.AddImplementationVariable(this.isNested);
 }