Partager via


CimSubscriptionDeliveryOptions Class

 

Represents options related to CIM subscription delivery.

Namespace:   Microsoft.Management.Infrastructure.Options
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Management.Infrastructure.Options.CimSubscriptionDeliveryOptions

Syntax

public class CimSubscriptionDeliveryOptions : IDisposable, ICloneable
public ref class CimSubscriptionDeliveryOptions : IDisposable, 
    ICloneable
type CimSubscriptionDeliveryOptions = 
    class
        interface IDisposable
        interface ICloneable
    end
Public Class CimSubscriptionDeliveryOptions
    Implements IDisposable, ICloneable

Constructors

Name Description
System_CAPS_pubmethod CimSubscriptionDeliveryOptions()

Creates and initializes a new instance of CimSubscriptionDeliveryOptions using the default subscription delivery type (push).

System_CAPS_pubmethod CimSubscriptionDeliveryOptions(CimSubscriptionDeliveryOptions)

Creates and initializes a new instance of CimSubscriptionDeliveryOptions by making a detailed clone of an existing object.

System_CAPS_pubmethod CimSubscriptionDeliveryOptions(CimSubscriptionDeliveryType)

Creates and initializes a new instance of CimSubscriptionDeliveryOptions while specifying the CIM subscription delivery type.

Methods

Name Description
System_CAPS_pubmethod AddCredentials(String, CimCredential, UInt32)

Adds CIM credentials.

System_CAPS_pubmethod Dispose()

Releases resources associated with this object.

System_CAPS_protmethod Dispose(Boolean)

Releases resources associated with this object.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod SetDateTime(String, DateTime, UInt32)

Sets the timestamp for an option.

System_CAPS_pubmethod SetDateTime(String, TimeSpan, UInt32)

Sets the time interval for an option.

System_CAPS_pubmethod SetInterval(String, TimeSpan, UInt32)

Sets the value of a named interval option.

System_CAPS_pubmethod SetNumber(String, UInt32, UInt32)

Sets the value of a named numeric option.

System_CAPS_pubmethod SetString(String, String, UInt32)

Sets the value of a named string option.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod ICloneable.Clone()

Creates a new object that is a copy of the current instance.

Remarks

Represents any of the following options.

  • __MI_SUBSCRIPTIONDELIVERYOPTIONS_SET_MAXIMUM_LATENCY
    The maximum amount of time, in milliseconds, before the server sends a response to a pull request.

    Set this option by using the SetInterval method.

  • __MI_SUBSCRIPTIONDELIVERYOPTIONS_SET_HEARTBEAT_INTERVAL
    The interval, in milliseconds, after which the server will send a Heartbeat event if no real event is available. The client will send Pull requests at the same interval.

    Set this option by using the SetInterval method.

  • __MI_SUBSCRIPTIONDELIVERYOPTIONS_SET_EXPIRATION_TIME
    When the subscription request expires.

    Set this option by using either the SetDateTime method or the SetDateTime method.

  • __MI_SUBSCRIPTIONDELIVERYOPTIONS_SET_BOOKMARK
    The starting point of the subscription in the event stream.

    Set this option by using the SetString method.

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.Management.Infrastructure.Options Namespace

Return to top