System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / Trustee Class / Trustee Constructor / Trustee Constructor(String,String)
The value to assign to the Name property.
The value to assign to the SystemName property.



In This Topic
    Trustee Constructor(String,String)
    In This Topic
    Initializes a new instance of the Trustee class of type Unknown, setting the Name and the SystemName properties to the values specified.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal name As String, _
       ByVal systemName As String _
    )
    'Usage
     
    
    Dim name As String
    Dim systemName As String
     
    Dim instance As New Trustee(name, systemName)
    public Trustee( 
       string name,
       string systemName
    )
    public:
    Trustee( 
       String^ name,
       String^ systemName
    )

    Parameters

    name
    The value to assign to the Name property.
    systemName
    The value to assign to the SystemName property.
    Exceptions
    ExceptionDescription
    The name parameter is null.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also