Share via


CcmSender Class

 

Represents a sender that sends messages directly through the client framework via COM. This requires an SMS client to be installed.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Sender.Ccm
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ConfigurationManagement.Messaging.Sender.Ccm.CcmSender

Syntax

[SerializableAttribute]
[MessageSenderSettingsAttribute(BypassTransportValidation = true)]
public sealed class CcmSender : IMessageSender
[SerializableAttribute]
[MessageSenderSettingsAttribute(BypassTransportValidation = true)]
public ref class CcmSender sealed : IMessageSender
<SerializableAttribute>
<MessageSenderSettingsAttribute(BypassTransportValidation := True)>
Public NotInheritable Class CcmSender
    Implements IMessageSender

Constructors

Name Description
System_CAPS_pubmethod CcmSender()

Initializes a new instance of the CcmSender class.

Properties

Name Description
System_CAPS_pubpropertySystem_CAPS_static DeleteTemporary

Gets or sets a value that indicates whether temporary files, such as attachments, will be cleaned out. The default value is true.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod SendAsync(IMessage)

Sends a message by using the asynchronous sender.

System_CAPS_pubmethod SendSync(IMessage)

Sends a message by using the synchronous sender.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Events

Name Description
System_CAPS_pubevent OnReceived

Event that is fired 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 fire this event.

System_CAPS_pubevent OnSend

Event that is fired 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.Sender.Ccm Namespace

Return to top