MessageTypeMapping Constructor (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 (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
Public Sub New ( _
servicecontract As ServiceContract, _
messageName As String, _
messageSource As MessageSource _
)
public MessageTypeMapping (
ServiceContract servicecontract,
string messageName,
MessageSource messageSource
)
public:
MessageTypeMapping (
ServiceContract^ servicecontract,
String^ messageName,
MessageSource messageSource
)
public MessageTypeMapping (
ServiceContract servicecontract,
String messageName,
MessageSource messageSource
)
public function MessageTypeMapping (
servicecontract : ServiceContract,
messageName : String,
messageSource : MessageSource
)
Parameters
- servicecontract
- messageName
A String value that specifies the name of the MessageType object.
- messageSource
A MessageSource object value that specifies which dialog sent the message type.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.