banner



Where To Specify Service Point Manager C#

Manages the lifecycle stages (creating, maintaining, and deleting) of the ServicePoint class instances. Objects of this grade should just be allocated using Arrangement::MakeObject() role. Never create case of this type on stack or using operator new, as information technology volition result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr arrow and use this pointer to pass it to functions every bit statement. More than...

Inherits System::Object.

Static Public Member Functions

static SecurityProtocolType get_SecurityProtocol ()
Gets the security protocol type used by the ServicePoint-class instances that are managed past the electric current instance. More than...
static void set_SecurityProtocol (SecurityProtocolType value)
Sets the security protocol type used by the ServicePoint-grade instances that are managed by the electric current example. More...
static int32_t get_MaxServicePoints ()
Gets the maximum number of the ServicePoint-class instances that can be managed by the current instance. More than...
static void set_MaxServicePoints (int32_t value)
Sets the maximum number of the ServicePoint-class instances that tin exist managed by the current instance. More than...
static int32_t get_DefaultConnectionLimit ()
Gets the maximum number of concurrent connections that are immune by the ServicePoint-class instances. More...
static void set_DefaultConnectionLimit (int32_t value)
Sets the maximum number of concurrent connections that are allowed by the ServicePoint-form instances. More...
static int32_t get_MaxServicePointIdleTime ()
Gets the maximum idle time of the ServicePoint-course instances. More...
static void set_MaxServicePointIdleTime (int32_t value)
Sets the maximum idle time of the ServicePoint-course instances. More...
static bool get_UseNagleAlgorithm ()
Gets a value that indicates if the ServicePoint-grade instances employ the Nagle algorithm. More...
static void set_UseNagleAlgorithm (bool value)
Sets a value that indicates if the ServicePoint-class instances use the Nagle algorithm. More...
static bool get_Expect100Continue ()
Gets a value that indicates if the ServicePoint-class instances utilize the 100-Proceed beliefs. More...
static void set_Expect100Continue (bool value)
Sets a value that indicates if the ServicePoint-form instances employ the 100-Proceed beliefs. More...
static bool get_EnableDnsRoundRobin ()
Gets a value that indicates if a DNS resolution rotates amid the applicative IP addresses. More...
static void set_EnableDnsRoundRobin (bool value)
Sets a value that indicates if a DNS resolution rotates amidst the applicable IP addresses. More...
static int32_t get_DnsRefreshTimeout ()
Gets a timeout in milliseconds during which a DNS resolution is considered valid. More...
static void set_DnsRefreshTimeout (int32_t value)
Sets a timeout in milliseconds during which a DNS resolution is considered valid. More...
static Organisation::SharedPtr< ICertificatePolicy > get_CertificatePolicy ()
Gets a certificate policy. More...
static void set_CertificatePolicy (System::SharedPtr< ICertificatePolicy > value)
Sets a certificate policy. More than...
static Security::RemoteCertificateValidationCallback get_ServerCertificateValidationCallback ()
Gets the callback that is used to validate a server certificate. More than...
static void set_ServerCertificateValidationCallback (Security::RemoteCertificateValidationCallback value)
Sets the callback that is used to validate a server certificate. More...
static bool get_ReusePort ()
Gets a value that indicates if the output connections sockets employ the 'SO_REUSE_UNICASTPORT' option. More than...
static void set_ReusePort (bool value)
Sets a value that indicates if the output connections sockets utilize the 'SO_REUSE_UNICASTPORT' pick. More...
static bool get_CheckCertificateRevocationList ()
Gets a value that indicates if the certificate must exist checked confronting the certificate authority revocation listing. More...
static void set_CheckCertificateRevocationList (bool value)
Sets a value that indicates if the certificate must be checked against the certificate authority revocation list. More than...
static Arrangement::Net::Security::EncryptionPolicy get_EncryptionPolicy ()
Returns the encryption policy that is used by the electric current instance. More...
static void SetTcpKeepAlive (bool enabled, int32_t keepAliveTime, int32_t keepAliveInterval)
Sets the value that indicates if the 'Keep-Alive' selection is enabled. More...
- Static Public Member Functions inherited from Organization::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
Compares objects by reference. More...
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
Compares objects by reference. More...
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
Reference-compares value type object with nullptr. More...
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
Compares reference type objects in C# manner. More...
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
Compares value blazon objects in C# style. More than...
static const TypeInfo & Type ()
Implements C# typeof(Organization.Object) construct. More than...
template<>
bool Equals (float const &objA, float const &objB)
Emulates C#-style floating bespeak comparison where two NaNs are considered equal fifty-fifty though according to IEC 60559:1989 NaN is non equal to any value, including NaN. More...
template<>
bool Equals (double const &objA, double const &objB)
Emulates C#-way floating betoken comparison where ii NaNs are considered equal fifty-fifty though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...

Static Public Attributes

static const int32_t DefaultNonPersistentConnectionLimit
The default number of not-persistent connections. More...
static const int32_t DefaultPersistentConnectionLimit
The default number of persistent connections. More...

Boosted Inherited Members

- Public Types inherited from Organisation::Object
typedef SmartPtr< Object > ptr
Allonym for smart arrow blazon. More than...
- Public Member Functions inherited from System::Object
Object ()
Creates object. Initializes all internal information structures. More...
virtual ~Object ()
Destroys object. Frees all internal data structures. More...
Object (Object const &ten)
Re-create constructor. Doesn't re-create anything, really, just initializes new object and enables re-create constructing subclasses. More...
Object & operator= (Object const &x)
Assignment operator. Doesn't copy annihilation, really, only initializes new object and enables copy constructing subclasses. More...
Object * SharedRefAdded ()
Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
int SharedRefRemovedSafe ()
Decrements and returns shared reference count. Shouldn't be chosen directly; instead, use smart pointers or ThisProtector. More than...
int RemovedSharedRefs (int count)
Decreases shared reference count by specified value. More than...
Detail::SmartPtrCounter * WeakRefAdded ()
Increments weak reference count. Shouldn't be called direct; instead, use smart pointers or ThisProtector. More than...
void WeakRefRemoved ()
Decrements weak reference count. Shouldn't be chosen straight; instead, use smart pointers or ThisProtector. More...
Detail::SmartPtrCounter * GetCounter ()
Gets reference counter data structure associated with the object. More...
int SharedCount () const
Gets electric current value of shared reference counter. More than...
void Lock ()
Implements C# lock() statement locking. Call directly or utilise LockContext sentry object. More...
void Unlock ()
Implements C# lock() statement unlocking. Call straight or use LockContext sentry object. More...
virtual bool Equals (ptr obj)
Compares objects using C# Object.Equals semantics. More...
virtual int32_t GetHashCode () const
Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
virtual String ToString () const
Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
virtual ptr MemberwiseClone () const
Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
virtual const TypeInfo & GetType () const
Gets actual type of object. Analog of C# System.Object.GetType() telephone call. More...
virtual bool Is (const TypeInfo &targetType) const
Check if object represents an instance of type described past targetType. Analog of C# 'is' operator. More...
virtual void SetTemplateWeakPtr (uint32_t statement)
Set north'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More than...
virtual bool FastCast (const Details::FastRttiBase &helper, void **out_ptr) const
For internal purposes only. More...
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
Specialization of Object::ReferenceEquals for case of cord and nullptr. More...
template<>
bool ReferenceEquals (String const &str1, String const &str2)
Specialization of Object::ReferenceEquals for instance of strings. More...

Manages the lifecycle stages (creating, maintaining, and deleting) of the ServicePoint class instances. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this form into System::SmartPtr pointer and use this pointer to pass information technology to functions as argument.

get_CertificatePolicy()

static System::SharedPtr<ICertificatePolicy> System::Cyberspace::ServicePointManager::get_CertificatePolicy ( )
static

Gets a certificate policy.

Returns
A certificate policy.

get_CheckCertificateRevocationList()

static bool System::Net::ServicePointManager::get_CheckCertificateRevocationList ( )
static

Gets a value that indicates if the certificate must exist checked confronting the document authority revocation list.

Returns
A value that indicates if the certificate must be checked against the certificate authorization revocation list.

get_DefaultConnectionLimit()

static int32_t System::Internet::ServicePointManager::get_DefaultConnectionLimit ( )
static

Gets the maximum number of concurrent connections that are allowed by the ServicePoint-form instances.

Returns
The maximum number of concurrent connections that are allowed by the ServicePoint-class instances.

get_DnsRefreshTimeout()

static int32_t Organization::Internet::ServicePointManager::get_DnsRefreshTimeout ( )
static

Gets a timeout in milliseconds during which a DNS resolution is considered valid.

Returns
A timeout in milliseconds during which a DNS resolution is considered valid.

get_EnableDnsRoundRobin()

static bool Arrangement::Net::ServicePointManager::get_EnableDnsRoundRobin ( )
static

Gets a value that indicates if a DNS resolution rotates among the applicative IP addresses.

Returns
A value that indicates if a DNS resolution rotates amid the applicable IP addresses.

get_EncryptionPolicy()

Returns the encryption policy that is used by the current example.

Returns
The encryption policy that is used by the current example.

get_Expect100Continue()

static bool System::Net::ServicePointManager::get_Expect100Continue ( )
static

Gets a value that indicates if the ServicePoint-grade instances use the 100-Continue beliefs.

Returns
A value that indicates if the ServicePoint-class instances use the 100-Continue behavior.

get_MaxServicePointIdleTime()

static int32_t System::Net::ServicePointManager::get_MaxServicePointIdleTime ( )
static

Gets the maximum idle fourth dimension of the ServicePoint-class instances.

Returns
The maximum idle fourth dimension of the ServicePoint-class instances.

get_MaxServicePoints()

static int32_t Organization::Cyberspace::ServicePointManager::get_MaxServicePoints ( )
static

Gets the maximum number of the ServicePoint-class instances that can be managed by the current case.

Returns
The maximum number of the ServicePoint-form instances that can exist managed past the current case.

get_ReusePort()

static bool System::Internet::ServicePointManager::get_ReusePort ( )
static

Gets a value that indicates if the output connections sockets utilise the 'SO_REUSE_UNICASTPORT' option.

Returns
A value that indicates if the output connections sockets use the 'SO_REUSE_UNICASTPORT' option.

get_SecurityProtocol()

Gets the security protocol type used past the ServicePoint-class instances that are managed by the current instance.

Returns
The security protocol type used past the ServicePoint-class instances that are managed by the current example.

get_ServerCertificateValidationCallback()

Gets the callback that is used to validate a server document.

Returns
The callback that is used to validate a server certificate.

get_UseNagleAlgorithm()

static bool System::Cyberspace::ServicePointManager::get_UseNagleAlgorithm ( )
static

Gets a value that indicates if the ServicePoint-class instances use the Nagle algorithm.

Returns
A value that indicates if the ServicePoint-class instances use the Nagle algorithm.

set_CertificatePolicy()

static void System::Cyberspace::ServicePointManager::set_CertificatePolicy ( System::SharedPtr< ICertificatePolicy > value )
static

Sets a document policy.

Parameters

set_CheckCertificateRevocationList()

static void System::Cyberspace::ServicePointManager::set_CheckCertificateRevocationList ( bool value )
static

Sets a value that indicates if the document must be checked against the document authorisation revocation list.

Parameters

set_DefaultConnectionLimit()

static void Arrangement::Internet::ServicePointManager::set_DefaultConnectionLimit ( int32_t value )
static

Sets the maximum number of concurrent connections that are immune by the ServicePoint-class instances.

Parameters

set_DnsRefreshTimeout()

static void Arrangement::Net::ServicePointManager::set_DnsRefreshTimeout ( int32_t value )
static

Sets a timeout in milliseconds during which a DNS resolution is considered valid.

Parameters

set_EnableDnsRoundRobin()

static void Arrangement::Net::ServicePointManager::set_EnableDnsRoundRobin ( bool value )
static

Sets a value that indicates if a DNS resolution rotates amidst the applicable IP addresses.

Parameters

set_Expect100Continue()

static void Arrangement::Net::ServicePointManager::set_Expect100Continue ( bool value )
static

Sets a value that indicates if the ServicePoint-grade instances use the 100-Continue beliefs.

Parameters

set_MaxServicePointIdleTime()

static void Organisation::Net::ServicePointManager::set_MaxServicePointIdleTime ( int32_t value )
static

Sets the maximum idle time of the ServicePoint-class instances.

Parameters

set_MaxServicePoints()

static void Organization::Net::ServicePointManager::set_MaxServicePoints ( int32_t value )
static

Sets the maximum number of the ServicePoint-class instances that tin exist managed by the electric current instance.

Parameters

set_ReusePort()

static void System::Net::ServicePointManager::set_ReusePort ( bool value )
static

Sets a value that indicates if the output connections sockets utilise the 'SO_REUSE_UNICASTPORT' option.

Parameters

set_SecurityProtocol()

static void Organisation::Cyberspace::ServicePointManager::set_SecurityProtocol ( SecurityProtocolType value )
static

Sets the security protocol type used past the ServicePoint-class instances that are managed past the current example.

Parameters

set_ServerCertificateValidationCallback()

Sets the callback that is used to validate a server certificate.

Parameters

set_UseNagleAlgorithm()

static void System::Internet::ServicePointManager::set_UseNagleAlgorithm ( bool value )
static

Sets a value that indicates if the ServicePoint-form instances apply the Nagle algorithm.

Parameters

SetTcpKeepAlive()

static void System::Net::ServicePointManager::SetTcpKeepAlive ( bool enabled,
int32_t keepAliveTime,
int32_t keepAliveInterval
)
static

Sets the value that indicates if the 'Go along-Alive' choice is enabled.

Parameters
enabled A value that indicates if the 'Keep-Live' pick is enabled.
keepAliveTime A timeout in milliseconds afterward which the start 'Keep-Alive' packet volition exist sent.
keepAliveInterval A timeout in milliseconds betwixt sending 'Go along-Alive' packets.

DefaultNonPersistentConnectionLimit

const int32_t System::Net::ServicePointManager::DefaultNonPersistentConnectionLimit

static

The default number of non-persistent connections.

DefaultPersistentConnectionLimit

const int32_t System::Internet::ServicePointManager::DefaultPersistentConnectionLimit

static

The default number of persistent connections.

Where To Specify Service Point Manager C#,

Source: https://apireference.aspose.com/slides/cpp/class/system.net.service_point_manager

Posted by: lambertthowenty.blogspot.com

0 Response to "Where To Specify Service Point Manager C#"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel