ConfigMgrRegistrationRequestBase.RegisterClient Method (IMessageSender, TimeSpan)
Helper method that performs a registration loop for a new client.
Namespace: Microsoft.ConfigurationManagement.Messaging.Messages
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public SmsClientId RegisterClient(
IMessageSender sender,
TimeSpan timeout
)
public:
SmsClientId^ RegisterClient(
IMessageSender^ sender,
TimeSpan timeout
)
Public Function RegisterClient (
sender As IMessageSender,
timeout As TimeSpan
) As SmsClientId
Parameters
sender
Type: Microsoft.ConfigurationManagement.Messaging.Framework.IMessageSenderSender to use for sending the registration message.
timeout
Type: System.TimeSpanTimeout for receiving a confirmation from the management point.
Return Value
Type: Microsoft.ConfigurationManagement.Messaging.Framework.SmsClientId
SMSID of the registered client.
See Also
RegisterClient Overload
ConfigMgrRegistrationRequestBase Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace
Return to top