- cloneIdentity
- false to delete the current System.MarshalByRefObject object's identity, which will cause the object to be assigned a new identity when it is marshaled across a remoting boundary. A value of false is usually appropriate. true to copy the current System.MarshalByRefObject object's identity to its clone, which will cause remoting client calls to be routed to the remote server object.
Visual Basic (Declaration) | |
---|---|
Overloads Protected Function MemberwiseClone( _ ByVal cloneIdentity As Boolean _ ) As MarshalByRefObject |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Medical3DControl Dim cloneIdentity As Boolean Dim value As MarshalByRefObject value = instance.MemberwiseClone(cloneIdentity) |
C# | |
---|---|
protected MarshalByRefObject MemberwiseClone( bool cloneIdentity ) |
C++/CLI | |
---|---|
protected: MarshalByRefObject^ MemberwiseClone( bool cloneIdentity ) |
Parameters
- cloneIdentity
- false to delete the current System.MarshalByRefObject object's identity, which will cause the object to be assigned a new identity when it is marshaled across a remoting boundary. A value of false is usually appropriate. true to copy the current System.MarshalByRefObject object's identity to its clone, which will cause remoting client calls to be routed to the remote server object.
Return Value
A shallow copy of the current System.MarshalByRefObject object.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7