Partilhar via


Construtor MessageTypeMapping (ServiceContract, String, MessageSource)

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

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

Sintaxe

'Declaração
Public Sub New ( _
    servicecontract As ServiceContract, _
    messageName As String, _
    messageSource As MessageSource _
)
'Uso
Dim servicecontract As ServiceContract
Dim messageName As String
Dim messageSource As MessageSource

Dim instance As New MessageTypeMapping(servicecontract, _
    messageName, messageSource)
public MessageTypeMapping(
    ServiceContract servicecontract,
    string messageName,
    MessageSource messageSource
)
public:
MessageTypeMapping(
    ServiceContract^ servicecontract, 
    String^ messageName, 
    MessageSource messageSource
)
new : 
        servicecontract:ServiceContract * 
        messageName:string * 
        messageSource:MessageSource -> MessageTypeMapping
public function MessageTypeMapping(
    servicecontract : ServiceContract, 
    messageName : String, 
    messageSource : MessageSource
)

Parâmetros