Exemplo n.º 1
0
 /// <summary>
 /// Get the object value of a context property in the Microsoft.BizTalk.XLANGs.BTXEngine namespace
 /// </summary>
 /// <param name="property">The name of the context property</param>
 /// <param name="failureAction">Whether to throw an exception or return a blank string if the property is not found</param>
 /// <returns>The object value of the context property</returns>
 public string GetXLANGSBTXEnginePropertySchemasContextProperty(BizTalkXLANGSBTXEnginePropertySchemaEnum property, FailureActionEnum failureAction)
 {
     return(GetContextProperty(property.ToString(), ContextPropertyNamespaces._XLANGSPropertyNamespace, failureAction));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Setup an Instruction that will either promote or write a specified value to a context property within the Microsoft.BizTalk.XLANGs.BTXEngine namespace
 /// </summary>
 /// <param name="property">The name of the context property</param>
 /// <param name="value">The value to be written/promoted to the context</param>
 /// <param name="promotion">Whether to write or promote the context property</param>
 /// <param name="type">The type to cast the value to</param>
 public void SetXLANGsBTXEngineContextProperty(BizTalkXLANGSBTXEnginePropertySchemaEnum property, object value, ContextInstructionTypeEnum promotion, TypeEnum type)
 {
     SetCustomContextProperty(property.ToString(), ContextPropertyNamespaces._XLANGSPropertyNamespace, value, promotion, type);
 }