Sends a message to an output file.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Inheritance Hierarchy
System.Object
Microsoft.ConfigurationManagement.Messaging.Framework.FileSender
Syntax
[SerializableAttribute]
public sealed class FileSender : IMessageSender
[SerializableAttribute]
public ref class FileSender sealed : IMessageSender
<SerializableAttribute>
Public NotInheritable Class FileSender
Implements IMessageSender
Constructors
Name | Description | |
---|---|---|
![]() |
FileSender() | Initializes a new instance of the FileSender class. |
![]() |
FileSender(String) | Initializes a new instance of the FileSender class. |
Properties
Name | Description | |
---|---|---|
![]() ![]() |
DefaultOutputPath | Gets or sets the default output directory for files. The default value is %TEMP%. |
![]() ![]() |
DefaultOutputSuffix | Gets or sets the default output file suffix. The default value is .msg. |
![]() |
OutputFilePath | Gets the output file name for files. This property supersedes OutputPath and OutputSuffix. |
![]() |
OutputPath | Gets or sets the output path for files. If this property is not set, the default value defined in DefaultOutputPath is uesd. |
![]() |
OutputSuffix | Gets or sets the output suffix for files. If this property is not set, the default value defined in DefaultOutputSuffix is used. |
Methods
Name | Description | |
---|---|---|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
SendAsync(IMessage) | Sends a message but doesn't receive a reply asynchronously. |
![]() |
SendSync(IMessage) | Sends a message and retrieves the reply synchronously. |
![]() |
ToString() | (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
![]() |
OnReceived | An event that fires after a message is received. The message contents can be changed before the message is returned to the caller. Only SendSync fires this event; SendAsync does not. |
![]() |
OnSend | An event that fires before a message is sent. The message contents can be changed before the message is delivered or inspected. Both SendSync and SendAsync fire this event. |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top