KöpBuy
1-855-856-7678
SupportSupport
Creates a new MessagingFactory object.
Namespace: Microsoft.ServiceBus.Messaging
public static MessagingFactory Create( string address, TokenProvider tokenProvider )
| Exception | Condition |
|---|---|
| ArgumentException | address contains a path appended to the full address of the service namespace. |
| UriFormatException | Thrown when address is empty. |
| ArgumentNullException | Thrown when tokenProvider or address are null. |