Guest User

Untitled

a guest
Feb 24th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. internal override bool IsEcosystemReady
  2. {
  3. get
  4. {
  5. if (!this.context.Web.AllProperties.ContainsKey("Microsoft.SharePoint.WorkflowServices.SPWebApplicationIdentifier"))
  6. {
  7. return false;
  8. }
  9. string str = this.context.Web.AllProperties["Microsoft.SharePoint.WorkflowServices.SPWebApplicationIdentifier"].ToString();
  10. if (!str.StartsWith(this.context.GetApplicationIdentifier(), StringComparison.OrdinalIgnoreCase))
  11. {
  12. ULS.SendTraceTag(0x60f556, ULSCat.msoulscat_WS_Workflow, ULSTraceLevel.Monitorable, "IsEcosystemReady: Application identifier contains an invalid value. Expected starts with: '{0}', Actual: '{1}', {2}", new object[] { this.context.GetApplicationIdentifier(), str, this.context.GetContextInfo() });
  13. }
  14. return true;
  15. }
  16. }
Add Comment
Please, Sign In to add comment