VarFile Class

 

Base class for a VarFile writer.

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


[SerializableAttribute]
public ref class VarFile abstract : MessageFileBase

NameDescription
System_CAPS_pubpropertyBuildNumber

Gets or sets the build number that the status message comes from. The default value is the build version of the binary.

System_CAPS_pubpropertyFileSuffix

Gets the file suffix. (Inherited from MessageFileBase.)

System_CAPS_protpropertyInboxName

Gets the logical name for an inbox. If the inbox is not supported by the message, this method can return null. (Inherited from MessageFileBase.)

System_CAPS_protpropertyIsInline

If true, this is an inline VarFile.

System_CAPS_pubpropertyIsSigned

If true, the file is signed.

System_CAPS_protpropertyRecordId

Gets the message type ID for an implementing class.

System_CAPS_pubpropertySettings

Gets the properties and settings for the message. (Inherited from MessageFileBase.)

System_CAPS_pubpropertySigningCertificate

Gets or sets the certificate to use for signing. This property is ignored unless IsSigned is true.

System_CAPS_protpropertySupportsInbox

Gets a value that indicates whether inbox writing is supported for the message. (Inherited from MessageFileBase.)

System_CAPS_pubpropertyTrusted

Gets or sets a value that indicates whether sending will use a trusted (authenticated) inbox. The default value is false. (Inherited from MessageFileBase.)

System_CAPS_protpropertyTrustedInboxName

Gets the logical name for the trusted (authenticated) inbox. If the trusted inbox is not supported by the message, this method can return null. (Inherited from MessageFileBase.)

NameDescription
System_CAPS_pubmethodDiscover()

Automatically discovers local information for sending a message. (Inherited from MessageFileBase.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGenerateFileName()

Generates a random name for the output file. (Inherited from MessageFileBase.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSerialize()

Serializes to a VarFile byte stream. (Overrides MessageFileBase::Serialize().)

System_CAPS_protmethodSerializeInlineMessage(Stream^)

Adds inline data to the payload after initial serialization, if supported. (Inherited from MessageFileBase.)

System_CAPS_protmethodSerializeMessage(Stream^)

Serializes the implementing message into the existing byte stream. (Inherited from MessageFileBase.)

System_CAPS_pubmethodSerializeToFile(String^)

Creates a file with a random file name and writes it to the output path. (Inherited from MessageFileBase.)

System_CAPS_pubmethodSerializeToInbox()

Creates a file and writes it directly to the appropriate inbox. If the Configuration Manager site server is not present on the local machine where this is run and HostName is not set, an exception will be raised. (Inherited from MessageFileBase.)

System_CAPS_pubmethodSerializeToInbox(String^)

Obsolete. Use SerializeToInbox and specify the server name by using HostName.

Creates a file and writes directly to the appropriate inbox. If the Configuration Manager site server is not present on the remote machine where this is run, an exception will be raised. (Inherited from MessageFileBase.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodValidate()

Validates that all required properties are set for the message to be successfully sent. (Overrides MessageFileBase::Validate().)

System_CAPS_protmethodSystem_CAPS_staticWriteByte(Stream^, Byte)

Writes a byte to the stream.

System_CAPS_protmethodSystem_CAPS_staticWriteHeaderRecord(Stream^, array<Byte>^, UInt32)

Writes a record to the file header.

System_CAPS_protmethodSystem_CAPS_staticWriteHeaderRecord(Stream^, Object^, UInt32)

Writes a record to the file header.

System_CAPS_protmethodSystem_CAPS_staticWriteHeaderRecord(Stream^, String^, UInt32)

Writes a record to the file header.

System_CAPS_protmethodSystem_CAPS_staticWriteRecord(Stream^, array<Byte>^, UInt32)

Writes a single record to the VarFile.

System_CAPS_protmethodSystem_CAPS_staticWriteRecord(Stream^, String^, UInt32)

Writes a single record to the VarFile.

System_CAPS_protmethodSystem_CAPS_staticWriteStringValue(Stream^, String^)

Writes a string value into the stream and adds one byte for null termination.

System_CAPS_protmethodSystem_CAPS_staticWriteStringValue(Stream^, String^, Boolean)

Writes a string of fixed length to the stream.

System_CAPS_protmethodSystem_CAPS_staticWriteStringValue(Stream^, String^, Int32)

Writes a string value of a fixed length to the stream.

System_CAPS_protmethodSystem_CAPS_staticWriteStringValue(Stream^, String^, Int32, Boolean)

Writes a string value of a fixed length to the stream.

System_CAPS_protmethodSystem_CAPS_staticWriteStringValue(Stream^, String^, Int32, Boolean, Boolean)

Writes a string value of a fixed length to the stream.

System_CAPS_protmethodSystem_CAPS_staticWriteValue<T>(Stream^, T)

Writes a primitive value type into the stream. Do not use this method for a string.

NameDescription
System_CAPS_protfieldSystem_CAPS_staticVarFileRecordId

VarFile identifier.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privpropertyIMessageBase::Settings

Gets the properties and settings for the message.(Inherited from MessageFileBase.)

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: