Share via


MessageTypeMapping Constructor (ServiceContract, String)

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

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub New ( _
    serviceContract As ServiceContract, _
    name As String _
)
'Usage
Dim serviceContract As ServiceContract 
Dim name As String 

Dim instance As New MessageTypeMapping(serviceContract, _
    name)
public MessageTypeMapping(
    ServiceContract serviceContract,
    string name
)
public:
MessageTypeMapping(
    ServiceContract^ serviceContract, 
    String^ name
)
new : 
        serviceContract:ServiceContract * 
        name:string -> MessageTypeMapping
public function MessageTypeMapping(
    serviceContract : ServiceContract, 
    name : String
)

Parameters

Examples

Readme_ServiceBrokerConfiguration

See Also

Reference

MessageTypeMapping Class

MessageTypeMapping Overload

Microsoft.SqlServer.Management.Smo.Broker Namespace

Other Resources

Service Broker

Managing Service Broker

DEL - Development (Service Broker)