FileSender Class

 

Sends a message to an output file.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

System::Object
  Microsoft.ConfigurationManagement.Messaging.Framework::FileSender

[SerializableAttribute]
public ref class FileSender sealed : IMessageSender

NameDescription
System_CAPS_pubmethodFileSender()

Initializes a new instance of the FileSender class.

System_CAPS_pubmethodFileSender(String^)

Initializes a new instance of the FileSender class.

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticDefaultOutputPath

Gets or sets the default output directory for files. The default value is %TEMP%.

System_CAPS_pubpropertySystem_CAPS_staticDefaultOutputSuffix

Gets or sets the default output file suffix. The default value is .msg.

System_CAPS_pubpropertyOutputFilePath

Gets the output file name for files. This property supersedes OutputPath and OutputSuffix.

System_CAPS_pubpropertyOutputPath

Gets or sets the output path for files. If this property is not set, the default value defined in DefaultOutputPath is uesd.

System_CAPS_pubpropertyOutputSuffix

Gets or sets the output suffix for files. If this property is not set, the default value defined in DefaultOutputSuffix is used.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodSendAsync(IMessage^)

Sends a message but doesn't receive a reply asynchronously.

System_CAPS_pubmethodSendSync(IMessage^)

Sends a message and retrieves the reply synchronously.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventOnReceived

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.

System_CAPS_pubeventOnSend

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.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: