Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[HomeGroupException.GetObjectData is no longer available for use as of Windows Server 2012 Essentials.] Sets the SerializationInfo object with information about the exception.
Namespace: Microsoft.WindowsServerSolutions.HomeGroup
Assembly: WSSHomeGroupObjectModel (in WSSHomeGroupObjectModel.dll)
Usage
'Usage
Dim instance As HomeGroupException
Dim info As SerializationInfo
Dim context As StreamingContext
instance.GetObjectData(info, context)
Syntax
'Declaration
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter:=True)> _
Public Overrides Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
)
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter=true)]
public override void GetObjectData (
SerializationInfo info,
StreamingContext context
)
[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter=true)]
public:
virtual void GetObjectData (
SerializationInfo^ info,
StreamingContext context
) override
/** @attribute SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter=true) */
public void GetObjectData (
SerializationInfo info,
StreamingContext context
)
public override function GetObjectData (
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
The SerializationInfo object that holds the serialized data about the exception being thrown.
- context
The StreamingContext object that contains contextual information about the source or destination.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2008 R2 x64, Windows 7 x64, Windows Server 2008 x64, Windows Vista x64
See Also
Reference
HomeGroupException Class
HomeGroupException Members
Microsoft.WindowsServerSolutions.HomeGroup Namespace
Copyright © 2012 by Microsoft Corporation. All rights reserved.