Path Property (MessageQueueInstaller)
Gets or sets the location of the queue that is referenced by this object.
Syntax
'Declaration <EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="System.Messaging.Design.QueuePathEditor")> <DefaultValueAttribute()> <TypeConverterAttribute("System.Diagnostics.Design.StringValueConverter, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> Public Property Path As String
'Usage Dim instance As MessageQueueInstaller Dim value As String instance.Path = value value = instance.Path
[Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="System.Messaging.Design.QueuePathEditor")] [DefaultValue()] [TypeConverter("System.Diagnostics.Design.StringValueConverter, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] public string Path {get; set;}
[Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="System.Messaging.Design.QueuePathEditor")] [DefaultValue()] [TypeConverter("System.Diagnostics.Design.StringValueConverter, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] public: property String^ Path { String^ get(); void set ( String^ value); }
Property Value
The path that represents the location of the queue in the network.Exceptions
Exception | Description |
---|---|
System.ArgumentException | The Path was set to an invalid value, possibly because the syntax is not valid.-or- The Path is null. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also