 | MessageUtilsSetDefault(MSH, String, String, String) Method |
Update the MSH header on msh with the default information
Namespace: SanteDB.Messaging.HL7.UtilsAssembly: SanteDB.Messaging.HL7 (in SanteDB.Messaging.HL7.dll) Version: 3.0.2081-alpha+e82e56b43bfab0d631a8b4d1ba2ab44b8aff02dd
Syntaxpublic static void SetDefault(
this MSH msh,
string receivingApplication,
string receivingFacility,
string security
)
<ExtensionAttribute>
Public Shared Sub SetDefault (
msh As MSH,
receivingApplication As String,
receivingFacility As String,
security As String
)
public:
[ExtensionAttribute]
static void SetDefault(
MSH^ msh,
String^ receivingApplication,
String^ receivingFacility,
String^ security
)
[<ExtensionAttribute>]
static member SetDefault :
msh : MSH *
receivingApplication : string *
receivingFacility : string *
security : string -> unit Parameters
- msh MSH
- The message header to be updated
- receivingApplication String
- The application information that received the message
- receivingFacility String
- The facility which received the message
- security String
- The security value which should be sent back to the sender
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
MSH. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also