MessageTypeMapping MessageTypeMapping MessageTypeMapping Constructors

Definition

Overloads

MessageTypeMapping() MessageTypeMapping() MessageTypeMapping()

Initializes a new instance of the MessageTypeMapping class.

MessageTypeMapping(ServiceContract, String) MessageTypeMapping(ServiceContract, String)

Initializes a new instance of the MessageTypeMapping class for the specified contract and with the specified name.

MessageTypeMapping(ServiceContract, String, MessageSource) MessageTypeMapping(ServiceContract, String, MessageSource)

Initializes a new instance of the MessageTypeMapping class for the specified contract and with the specified name and message source.

MessageTypeMapping() MessageTypeMapping() MessageTypeMapping()

Initializes a new instance of the MessageTypeMapping class.

public:
 MessageTypeMapping();
public MessageTypeMapping ();
Public Sub New ()

Examples

Readme_ServiceBrokerConfiguration

Remarks

The default constructor initializes any fields to their default values.

MessageTypeMapping(ServiceContract, String) MessageTypeMapping(ServiceContract, String)

Initializes a new instance of the MessageTypeMapping class for the specified contract and with the specified name.

public:
 MessageTypeMapping(Microsoft::SqlServer::Management::Smo::Broker::ServiceContract ^ serviceContract, System::String ^ name);
public MessageTypeMapping (Microsoft.SqlServer.Management.Smo.Broker.ServiceContract serviceContract, string name);
Parameters
serviceContract
ServiceContract ServiceContract ServiceContract

A ServiceContract object that specifies the contract in which the message type is used.

name
String String String

A String value that specifies the name of the MessageType object.

Examples

Readme_ServiceBrokerConfiguration

MessageTypeMapping(ServiceContract, String, MessageSource) MessageTypeMapping(ServiceContract, String, MessageSource)

Initializes a new instance of the MessageTypeMapping class for the specified contract and with the specified name and message source.

public:
 MessageTypeMapping(Microsoft::SqlServer::Management::Smo::Broker::ServiceContract ^ servicecontract, System::String ^ messageName, Microsoft::SqlServer::Management::Smo::Broker::MessageSource messageSource);
public MessageTypeMapping (Microsoft.SqlServer.Management.Smo.Broker.ServiceContract servicecontract, string messageName, Microsoft.SqlServer.Management.Smo.Broker.MessageSource messageSource);
Parameters
servicecontract
ServiceContract ServiceContract ServiceContract

A ServiceContract object that specifies the contract in which the message type is used.

messageName
String String String

A String value that specifies the name of the MessageType object.

messageSource
MessageSource MessageSource MessageSource

A MessageSource object value that specifies which dialog sent the message type.

Examples

Readme_ServiceBrokerConfiguration

See Also

Applies to