PSSessionConfiguration.GetMaximumReceivedObjectSize(PSSenderInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Maximum size (in bytes) of a deserialized object received from a remote machine. If null, then the size is unlimited. Default is 10MB.
public:
virtual Nullable<int> GetMaximumReceivedObjectSize(System::Management::Automation::Remoting::PSSenderInfo ^ senderInfo);
public virtual int? GetMaximumReceivedObjectSize (System.Management.Automation.Remoting.PSSenderInfo senderInfo);
abstract member GetMaximumReceivedObjectSize : System.Management.Automation.Remoting.PSSenderInfo -> Nullable<int>
override this.GetMaximumReceivedObjectSize : System.Management.Automation.Remoting.PSSenderInfo -> Nullable<int>
Public Overridable Function GetMaximumReceivedObjectSize (senderInfo As PSSenderInfo) As Nullable(Of Integer)
Parameters
- senderInfo
- PSSenderInfo
User Identity for which this information is requested