internal RelayDescription(string relayPath, RelayDescriptionXml xml) { this.xml = xml; if (null != xml) { this.xml.Path = relayPath; } }
/// <summary>Initializes a new instance of the <see cref="T:Microsoft.ServiceBus.Messaging.RelayDescription" /> class.</summary> /// <param name="relayPath">The path of the relay.</param> /// <param name="type">The relay type.</param> public RelayDescription(string relayPath, RelayType type) { this.xml = new RelayDescriptionXml(relayPath, type); }