BizTalk Context Properties and Namespaces

Not code that does anything meaningful.  Just logging available context properties and there namespaces here for future reference.

public IBaseMessage Execute(IPipelineContext pContext, IBaseMessage pInMsg)
        {
            string property = string.Empty;

            // Available on Receive Pipeline
            property = pInMsg.Context.Read("InterchangeID", "
http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("ReceivePortID", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("WasSolicitResponse", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("AuthenticationRequiredOnReceivePort", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("InboundTransportType", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("MessageExchangePattern", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("PortName", "http://schemas.microsoft.com/BizTalk/2003/messagetracking-properties").ToString();
            property = pInMsg.Context.Read("ReceivePipelineID", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("MessageType", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("SchemaStrongName", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("ReceivedFileName", "http://schemas.microsoft.com/BizTalk/2003/file-properties").ToString();
            property = pInMsg.Context.Read("InboundTransportLocation", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("LRPMsgBodyTracking", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("ReceivePortName", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();

            // Available on Send Pipeline
            property = pInMsg.Context.Read("CopyMode", "
http://schemas.microsoft.com/BizTalk/2003/file-properties").ToString();
            property = pInMsg.Context.Read("LTPMsgBodyTracking", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("ReceivedFileName", "http://schemas.microsoft.com/BizTalk/2003/file-properties").ToString();
            property = pInMsg.Context.Read("SPID", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("ActualRetryCount", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("FileName", "http://schemas.microsoft.com/BizTalk/2003/file-properties").ToString();
            property = pInMsg.Context.Read("PartyName", "http://schemas.microsoft.com/BizTalk/2003/messagetracking-properties").ToString();
            property = pInMsg.Context.Read("ReceivePortName", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("WasSolicitResponse", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("AllowCacheOnWrite", "http://schemas.microsoft.com/BizTalk/2003/file-properties").ToString();
            property = pInMsg.Context.Read("RetryInterval", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("OutboundTransportCLSID", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("SPName", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("InboundTransportLocation", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("InterchangeID", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("ReceivePortID", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("SPTransportID", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("TransmitPipelineID", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("AuthenticationRequiredOnReceivePort", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("InboundTransportType", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("LRPMsgBodyTracking", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("MessageExchangePattern", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("OutboundTransportLocation", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("PortName", "http://schemas.microsoft.com/BizTalk/2003/messagetracking-properties").ToString();
            property = pInMsg.Context.Read("ReceivePipelineID", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("SourcePartyID", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("MessageType", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("OutboundTransportType", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("PartNames", "http://schemas.microsoft.com/BizTalk/2003/messageagent-properties").ToString();
            property = pInMsg.Context.Read("RetryCount", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();
            property = pInMsg.Context.Read("SchemaStrongName", "http://schemas.microsoft.com/BizTalk/2003/system-properties").ToString();

Advertisements
This entry was posted in BizTalk Server. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s