[This topic is pre-release documentation and
is subject to change in future releases. Blank topics are included
as placeholders.]
Assembly: Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)
Hardware inventory message
Namespace:
Microsoft.ConfigurationManagement.Messaging.Messages
Assembly: Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
C# | Visual Basic | Visual C++ |
[ SerializableAttribute] [ MessageClassAttribute( MessageClassAttributeSetting.SigningRequired)] [ MessageSupportAttribute( MessageSupportStatus.Supported)] public sealed class ConfigMgrHardwareInventoryMessage : ConfigMgrInventoryMessage
< SerializableAttribute> _ < MessageClassAttribute( MessageClassAttributeSetting.SigningRequired)> _ < MessageSupportAttribute( MessageSupportStatus.Supported)> _ Public NotInheritable Class ConfigMgrHardwareInventoryMessage _ Inherits ConfigMgrInventoryMessage
[ SerializableAttribute] [ MessageClassAttribute( MessageClassAttributeSetting::SigningRequired)] [ MessageSupportAttribute( MessageSupportStatus::Supported)] public ref class ConfigMgrHardwareInventoryMessage sealed : public ConfigMgrInventoryMessage
Members
All Members | Constructors | Fields | Properties | Methods | Explicit Interface Implementations |
Public
Protected
|
Instance
Static
|
Declared
Inherited
|
XNA Framework Only
.NET Compact Framework
Only
|
|
Member | Description | |
---|---|---|
ConfigMgrHardwareInventoryMessage () () () () |
Initializes a new instance of the
ConfigMgrHardwareInventoryMessageclass.
|
|
AddCertificateToMessage(MessageCertificateX509, CertificatePurposes) |
Adds a certificate to the
message (Inherited from
Message.) |
|
AddCertificateToMessage(MessageCertificateX509, CertificatePurposes, Boolean) |
Adds certificate to message with the option to
disable any intelligence (Inherited from
Message.) |
|
AddInstancesToInventory( array< InventoryInstance > [] () [] [] ) |
Adds instances to the HINV
|
|
AddInstanceToInventory(InventoryInstance) |
Adds an instance to the inventory store for
the message
|
|
Attachments |
Gets Attachments to the
message. (Inherited from
Message.) |
|
Body |
Get/Set message body. This should never be
empty except for some very special cases. (Inherited from
Message.) |
|
BodyAsAttachment |
If true, the ReportBody is sent as an
attachment, if false, the entire message is sent as one.
Inventory messages need to be sent with attachments, relay
messages don't. (Inherited from
ConfigMgrInventoryMessage.) |
|
BuildInventoryMessage(InventoryReportBodyElement) |
Constructs an inventory report from a
InventoryReportBodyElement using default settings (Inherited
from
ConfigMgrInventoryMessage.) |
|
BuildInventoryMessage(Collection < (Of < <' ( InventoryReportBodyElement > ) > > ) ) |
Constructs an inventory report from an
InventoryReportBodyElement[] array (Inherited from
ConfigMgrInventoryMessage.) |
|
BuildInventoryMessage(InventoryReportBodyElement, Boolean) |
Constructs an inventory report from a
InventoryReportBodyElement using default settings (Inherited
from
ConfigMgrInventoryMessage.) |
|
BuildInventoryMessage(Collection < (Of < <' ( InventoryReportBodyElement > ) > > ) , Boolean) |
Constructs an inventory report from an
InventoryReportBodyElement[] array (Inherited from
ConfigMgrInventoryMessage.) |
|
ClearHardwareInventoryInstances () () () () |
Clears the internal list of inventory
records.
|
|
ClientVersion |
Client version for the client sending the
state message. Defaults to random version if unset. (Inherited
from
ConfigMgrInventoryMessage.) |
|
CloneBase () () () () |
Creates a clone of this message
IMPORTANT: This is not the same as
Clone
()
()
()
()
which is why this message type does not implement
ICloneable. This does not behave the same as
Clone
()
()
()
()
. It is not recommended that any code outside of
Messaging core code use this function without understanding how it
works, what its limitations are, and why it's being used. Chances
are if you're looking at this method, you probably want to use
CloneByRef(IMessage)instead. (Inherited from
Message.) |
|
CloneByRef(IMessage) |
Clones a reference of a message. Use this for
doing a copy of an existing message (especially of a different
type) into this one.
IMPORTANT: This is not the same as
Clone
()
()
()
()
which is why this message type does not implement
ICloneable. This does not behave the same as
Clone
()
()
()
()
. It is not recommended that any code outside of
Messaging core code use this function without understanding how it
works, what its limitations are, and why it's being
used. (Inherited from
Message.) |
|
CloneByRef(IMessage, MessageCloneOptions) |
Clones a reference of a message. Use this for
doing a copy of an existing message (especially of a different
type) into this one.
IMPORTANT: This is not the same as
Clone
()
()
()
()
which is why this message type does not implement
ICloneable. This does not behave the same as
Clone
()
()
()
()
. It is not recommended that any code outside of
Messaging core code use this function without understanding how it
works, what its limitations are, and why it's being
used. (Inherited from
Message.) |
|
CodePage |
Gets/sets the code page for the
message (Inherited from
ConfigMgrInventoryMessage.) |
|
CriticalSection(Action) |
Invokes a statement within a thread-safe
critical section (Inherited from
Message.) |
|
CriticalSection < (Of < <' ( T > ) > > ) (Func < (Of < ( <' TResult > ) > ) > ) | (Inherited from Message.) | |
DeserializeMessageBody () () () () |
Internal handler for deserializing payload to
its object format. This should only be called by external code
under exceptional circumstances. (Inherited from
Message.) |
|
Discover () () () () |
Performs discovery (Inherited from
ConfigMgrInventoryMessage.) |
|
DiscoveredNetBiosName |
If true, NetBiosName property was derived from
discovery (Inherited from
ConfigMgrInventoryMessage.) |
|
DomainName |
The AD domain name of the system in
NetBIOSName. This is required if you're sending a full inventory.
If not set, the NetBIOS name will be used.
|
|
Equals(Object) | (Inherited from Object.) | |
Finalize () () () () | (Inherited from Object.) | |
GetCertificateFromMessage(CertificatePurposes) |
Retrieves X509-based certificate from
message. (Inherited from
Message.) |
|
GetHashCode () () () () | (Inherited from Object.) | |
GetType () () () () | (Inherited from Object.) | |
HardwareInventoryInstances |
Returns the internal HINV instances. It is not
recommended that this is used directly to manipulate HINV
instances. To set, use the AddHardwareInventoryInstance
method
|
|
IncludeMachinePublicKey |
If true, and BuildInventoryMessage is used,
public key will be included in inventory report (Inherited
from
ConfigMgrInventoryMessage.) |
|
InstancesContainsElementOfType(Boolean, List < (Of < <' ( Type > ) > > ) ) | (Inherited from ConfigMgrInventoryMessage.) | |
InventoryReport |
Contains the entire serialized Inventory
message. BuildInventoryMessage should be used to initialize,
setting everything manually is not recommended. (Inherited
from
ConfigMgrInventoryMessage.) |
|
LocaleId |
Locale ID for state messages. Defaults to the
current processe's locale ID (Inherited from
ConfigMgrInventoryMessage.) |
|
MemberwiseClone () () () () | (Inherited from Object.) | |
MessageId |
Internal ID of the message. (Inherited
from
Message.) |
|
NetBiosName |
Gets/sets the NetBIOS name of the machine
generating the state message. If unset, uses the executing
machine's name. (Inherited from
ConfigMgrInventoryMessage.) |
|
OnDeserialization(Object) |
On deserialization, this ensures validity
checks are never performed. (Inherited from
Message.) |
|
PostSendActions(IMessageSender, Boolean) |
Actions to run after the message is sent
(asynchronous, use with care). (Inherited from
Message.) |
|
PostSendActionsSupported |
If true, message supports post-send
actions (Inherited from
Message.) |
|
PreSendActions () () () () |
Actions to run before the message is sent
(synchronous and blocking) (Inherited from
Message.) |
|
Priority |
The priority for the message. This is only
used for reference by senders and has no actual effect on the
message (Inherited from
Message.) |
|
ReportContentType |
Inventories are Inventory Data (Overrides
ConfigMgrInventoryMessage
.
.
::
.
.
ReportContentType.) |
|
ReportFormat |
By default report format is 1.1. Can be
overriden by inheriting classes (Inherited from
ConfigMgrInventoryMessage.) |
|
ReportType |
Inventory report type. Defaults to
Delta.
|
|
ReportVersion |
By default report version is 1.0. Can be
overridden by inheriting classes (Inherited from
ConfigMgrInventoryMessage.) |
|
SenderCallback |
Callback to Sender for the message. This is
null unless a message is in the process of being
sent. (Inherited from
Message.) |
|
SenderType |
The sender type for the message. This is only
used for reference by senders and has no actual effect on the
message. (Inherited from
Message.) |
|
SendInlineStatusMessage(SmsEvent, IMessageSender) |
Sends a status message. This is a synchronous
operation so it should be called from a separate thread to avoid
blocking (Inherited from
Message.) |
|
SendInlineStatusMessage(StatusMessage, IMessageSender) |
Sends a status message. This is a synchronous
operation so it should be called from a separate thread to avoid
blocking (Inherited from
Message.) |
|
SendMessage(IMessageSender) |
Sends the message using the specified
sender (Inherited from
AsynchronousMessage.) |
|
IMessage . . :: . . SendMessage(IMessageSender) |
Sends message via the specified
sender. (Inherited from
Message.) |
|
SendMessageAsync(IMessageSender) |
Sends message via the specified
sender. (Inherited from
Message.) |
|
SendMessageSync < (Of < <' ( T > ) > > ) (IMessageSender) |
Sends message via the specified
sender. (Inherited from
Message.) |
|
SerializeMessageBody () () () () |
Serializes the payload (Overrides
ConfigMgrInventoryMessage
.
.
::
.
.
SerializeMessageBody
()
()
()
()
.) |
|
IMessageBase . . :: . . Settings |
Message settings and
properties (Inherited from
Message.) |
|
Settings |
Message settings (Inherited from
Message.) |
|
SimpleBodyDeserialization < (Of < <' ( T > ) > > ) () () () () |
Helper function that deserializes the object
from the existing payload (Inherited from
Message.) |
|
SimpleBodyDeserialization < (Of < <' ( T > ) > > ) (DeserializationArguments) |
Helper function that deserializes the object
from the existing payload (Inherited from
Message.) |
|
SimpleObjectSerialization(Object) |
Helper function that serializes the object to
a payload (Inherited from
Message.) |
|
SiteCode |
Gets/sets the site code for the message. This
is an optional property (Inherited from
ConfigMgrInventoryMessage.) |
|
SmsId |
SMSID must be set for inventory
messages (Inherited from
ConfigMgrInventoryMessage.) |
|
SupportsInlineSerializers |
If true, Serialize() will be called on send,
and Deserialize() will be called on receive.
Default setting is true. Override to false with
care. (Inherited from
Message.) |
|
Synchronizer |
Synchronizer to use for locking in thread-safe
operations (Inherited from
Message.) |
|
ToString () () () () | (Inherited from Object.) | |
Validate () () () () |
Validates all required message settings are
present and meet the requirements. If this fails, it means that the
message is almost certain to fail sending or being processed by the
site/MP. (Inherited from
Message.) |
Inheritance Hierarchy
System
.
.
::
.
.
Object
Microsoft.ConfigurationManagement.Messaging.Framework . . :: . . Message
Microsoft.ConfigurationManagement.Messaging.Framework . . :: . . AsynchronousMessage
Microsoft.ConfigurationManagement.Messaging.Messages . . :: . . ConfigMgrInventoryMessage
Microsoft.ConfigurationManagement.Messaging.Messages . . :: . . ConfigMgrHardwareInventoryMessage
Microsoft.ConfigurationManagement.Messaging.Framework . . :: . . Message
Microsoft.ConfigurationManagement.Messaging.Framework . . :: . . AsynchronousMessage
Microsoft.ConfigurationManagement.Messaging.Messages . . :: . . ConfigMgrInventoryMessage
Microsoft.ConfigurationManagement.Messaging.Messages . . :: . . ConfigMgrHardwareInventoryMessage