System.Win.ScktComp.TAbstractSocket.SetService

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetService(Value: string);

C++

void __fastcall SetService(System::UnicodeString Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Win.ScktComp.pas
System.Win.ScktComp.hpp
System.Win.ScktComp TAbstractSocket

Description

Sets the Service property.

SetService is the protected implementation of the Service property. SetService raises an ESocketError exception if an attempt is made to set the Service property when the socket connection is open.

See Also