Метод | Описание | |
---|---|---|
AccountToBeAssignedQueuePermissions ( string account ) : void |
Sets the account to be assigned queue permissions.
|
|
Convert ( System m ) : Message |
Converts an MSMQ message to a Message.
|
|
Convert ( Message message ) : System.Messaging.Message |
Converts a Message to an Msmq message. Doesn't set the ResponseQueue of the result.
|
|
CreateQueue ( string queueName, string account ) : void |
Create named message queue
|
|
CreateQueueIfNecessary ( |
Utility method for creating a queue if it does not exist.
|
|
GetFullPath ( |
Turns a '@' separated value into a full path. Format is 'queue@machine', or 'queue@ipaddress'
|
|
GetFullPathWithoutPrefix ( |
Returns the full path without Format or direct os from an address.
|
|
GetFullPathWithoutPrefix ( string value ) : string |
Returns the full path without Format or direct os from a '@' separated path.
|
|
GetIndependentAddressForQueue ( System.Messaging.MessageQueue q ) : |
Gets an independent address for the queue in the form: queue@machine.
|
|
GetNumberOfPendingMessages ( string queueName ) : int |
Returns the number of messages in the queue.
|
|
GetReturnAddress ( |
Gets the name of the return address from the provided value. If the target includes a machine name, uses the local machine name in the returned value otherwise uses the local IP address in the returned value.
|
|
GetReturnAddress ( string value, string target ) : string |
Gets the name of the return address from the provided value. If the target includes a machine name, uses the local machine name in the returned value otherwise uses the local IP address in the returned value.
|
|
QueueIsLocal ( string value ) : bool |
Checks whether or not a queue is local by its path.
|
|
SetPermissionsForQueue ( string queue, string account ) : void |
Sets default permissions for queue.
|
Метод | Описание | |
---|---|---|
ExtractMsmqMessageLabelInformationForBackwardCompatibility ( System msmqMsg, Message result ) : void |
For backward compatibility, extract the V2.6 MSMQ label content (IdForCorrelation and WindowsIdentityName) into the V3.X transport message.
|
|
FillLabelForBackwardsCompatabilityWhileSending ( Message transportMessage, System msmqMessage ) : void |
Fill MSMQ message's label.
|
|
LocalIpAddress ( |
||
getFullPath ( string value ) : string | ||
getMachineNameFromLogicalName ( string logicalName ) : string | ||
getQueueNameFromLogicalName ( string logicalName ) : string |
public static AccountToBeAssignedQueuePermissions ( string account ) : void | ||
account | string | Account to be used. |
Результат | void |
public static Convert ( System m ) : Message | ||
m | System | |
Результат | Message |
public static Convert ( Message message ) : System.Messaging.Message | ||
message | Message | |
Результат | System.Messaging.Message |
public static CreateQueue ( string queueName, string account ) : void | ||
queueName | string | |
account | string | The account to be given permissions to the queue |
Результат | void |
public static CreateQueueIfNecessary ( |
||
address | ||
account | string | The account to be given permissions to the queue |
Результат | void |
public static GetFullPath ( |
||
value | ||
Результат | string |
public static GetFullPathWithoutPrefix ( |
||
address | ||
Результат | string |
public static GetFullPathWithoutPrefix ( string value ) : string | ||
value | string | |
Результат | string |
public static GetIndependentAddressForQueue ( System.Messaging.MessageQueue q ) : |
||
q | System.Messaging.MessageQueue | |
Результат |
public static GetNumberOfPendingMessages ( string queueName ) : int | ||
queueName | string | |
Результат | int |
public static GetReturnAddress ( |
||
value | ||
target | ||
Результат | string |
public static GetReturnAddress ( string value, string target ) : string | ||
value | string | |
target | string | |
Результат | string |
public static QueueIsLocal ( string value ) : bool | ||
value | string | The path to the queue to check. |
Результат | bool |
public static SetPermissionsForQueue ( string queue, string account ) : void | ||
queue | string | |
account | string | |
Результат | void |